Enable LocalDiscovery by default.
Recent improvements to the local discovery mechanism makes it cheaper, more network-friendly, and now it cannot make things worse (as opposed to the old mechanism). Thus there is no reason not to enable it by default.
This commit is contained in:
parent
4159108971
commit
498f1b1d58
2 changed files with 2 additions and 2 deletions
|
@ -333,7 +333,7 @@ To only listen on a specific port but not on a specific address, use
|
||||||
.Li *
|
.Li *
|
||||||
for the
|
for the
|
||||||
.Ar address .
|
.Ar address .
|
||||||
.It Va LocalDiscovery Li = yes | no Pq no
|
.It Va LocalDiscovery Li = yes | no Pq yes
|
||||||
When enabled,
|
When enabled,
|
||||||
.Nm tinc
|
.Nm tinc
|
||||||
will try to detect peers that are on the same local network.
|
will try to detect peers that are on the same local network.
|
||||||
|
|
|
@ -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 *);
|
static void send_udppacket(node_t *, vpn_packet_t *);
|
||||||
|
|
||||||
unsigned replaywin = 16;
|
unsigned replaywin = 16;
|
||||||
bool localdiscovery = false;
|
bool localdiscovery = true;
|
||||||
|
|
||||||
#define MAX_SEQNO 1073741824
|
#define MAX_SEQNO 1073741824
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue