/* 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;
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 */
return true;
}
-int main(int argc, char **argv) {
+int old_main(int argc, char **argv) {
if(!parse_options(argc, argv))
return 1;