Add UDP discovery mechanism.
[tinc] / src / tincctl.c
index 0eb3a25..2e38203 100644 (file)
@@ -1364,6 +1364,9 @@ const var_t variables[] = {
        {"ScriptsInterpreter", VAR_SERVER},
        {"StrictSubnets", VAR_SERVER},
        {"TunnelServer", VAR_SERVER},
+       {"UDPDiscovery", VAR_SERVER},
+       {"UDPDiscoveryInterval", VAR_SERVER},
+       {"UDPDiscoveryTimeout", VAR_SERVER},
        {"UDPRcvBuf", VAR_SERVER},
        {"UDPSndBuf", VAR_SERVER},
        {"VDEGroup", VAR_SERVER},
@@ -1848,7 +1851,7 @@ static int cmd_generate_keys(int argc, char *argv[]) {
                name = get_my_name(false);
 
 #ifndef DISABLE_LEGACY
-       if(!rsa_keygen(argc > 1 ? atoi(argv[1]) : 2048, true)
+       if(!rsa_keygen(argc > 1 ? atoi(argv[1]) : 2048, true))
                return 1;
 #endif