X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Ftincd.c;h=7d580cf270c27def2aa84101f80fcce668f466f6;hb=8eab1de5c6b24e90c865fd204887e313e99e32c6;hp=32447056d09e609ccc1fd94d451dd5d3ab44e6fa;hpb=3d5dd72aa41f162fd5d4d6dd13f46c0fca5a14a9;p=meshlink diff --git a/src/tincd.c b/src/tincd.c index 32447056..7d580cf2 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -112,9 +112,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 */