X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftincd.c;h=45ff3ff697e51f21059534e271f4969e41b1954b;hb=d69b90d2e3f9359261c96da8b4449c1d19d47835;hp=32447056d09e609ccc1fd94d451dd5d3ab44e6fa;hpb=12b11721f530eaeae3f82f781f19e598ab2a2544;p=meshlink diff --git a/src/tincd.c b/src/tincd.c index 32447056..45ff3ff6 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -51,9 +51,6 @@ static bool show_help = false; /* If nonzero, print the version on standard output and exit. */ static bool show_version = false; -/* If nonzero, use null ciphers and skip all key exchanges. */ -bool bypass_security = false; - char **g_argv; /* a copy of the cmdline arguments */ static int status = 1; @@ -112,9 +109,9 @@ static bool parse_options(int argc, char **argv) { if(!optarg && optind < argc && *argv[optind] != '-') optarg = argv[optind++]; if(optarg) - debug_level = atoi(optarg); + mesh->debug_level = atoi(optarg); else - debug_level++; + mesh->debug_level++; break; case 1: /* show help */