Add the AutoConnect option.
When set to a non-zero value, tinc will try to maintain exactly that number of meta connections to other nodes. If there are not enough connections, it will periodically try to set up an outgoing connection to a random node. If there are too many connections, it will periodically try to remove an outgoing connection.
This commit is contained in:
parent
1f8b70efa0
commit
717ea66d7b
6 changed files with 160 additions and 2 deletions
|
|
@ -1233,6 +1233,7 @@ static struct {
|
|||
} const variables[] = {
|
||||
/* Server configuration */
|
||||
{"AddressFamily", VAR_SERVER},
|
||||
{"AutoConnect", VAR_SERVER},
|
||||
{"BindToAddress", VAR_SERVER | VAR_MULTIPLE},
|
||||
{"BindToInterface", VAR_SERVER},
|
||||
{"Broadcast", VAR_SERVER},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue