diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index f208803a..01c74802 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -333,7 +333,7 @@ To only listen on a specific port but not on a specific address, use .Li * for the .Ar address . -.It Va LocalDiscovery Li = yes | no Pq no +.It Va LocalDiscovery Li = yes | no Pq yes When enabled, .Nm tinc will try to detect peers that are on the same local network. diff --git a/src/net_packet.c b/src/net_packet.c index 36386b58..6b3183da 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -54,7 +54,7 @@ static char lzo_wrkmem[LZO1X_999_MEM_COMPRESS > LZO1X_1_MEM_COMPRESS ? LZO1X_999 static void send_udppacket(node_t *, vpn_packet_t *); unsigned replaywin = 16; -bool localdiscovery = false; +bool localdiscovery = true; #define MAX_SEQNO 1073741824