X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=6c7064bf6f171ab991b874c9e5f095094e0f0e60;hb=332b55d4720fadea76c0a5d9b9d484af6a724006;hp=9a97276ca99d62f6c95fce0b2ef25040e7a01756;hpb=24e3ec863ec463186501f76961c6d4b1dfe122af;p=tinc diff --git a/src/net.h b/src/net.h index 9a97276c..6c7064bf 100644 --- a/src/net.h +++ b/src/net.h @@ -1,7 +1,7 @@ /* net.h -- header for net.c Copyright (C) 1998-2005 Ivo Timmermans - 2000-2013 Guus Sliepen + 2000-2014 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -103,6 +103,7 @@ typedef struct listen_socket_t { io_t tcp; io_t udp; sockaddr_t sa; + bool bindto; } listen_socket_t; #include "conf.h" @@ -136,7 +137,7 @@ extern int udp_sndbuf; extern int max_connection_burst; extern bool do_prune; extern char *myport; -extern int autoconnect; +extern bool autoconnect; extern bool disablebuggypeers; extern int contradicting_add_edge; extern int contradicting_del_edge;