mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-25 19:52:19 +00:00
debug info/usage format fixes
This commit is contained in:
parent
704b7ebd76
commit
de9f35eb02
@ -172,7 +172,7 @@ usage(void)
|
||||
" -r Runs in restricted mode\n"
|
||||
" -I Share your internet connection with other nodes\n"
|
||||
"\n"
|
||||
" -c configuration file\n"
|
||||
" -c Configuration file\n"
|
||||
" -l Enables logging to file\n"
|
||||
"\n"
|
||||
" -d Debug (Add more ds to get more info)\n"
|
||||
@ -437,6 +437,7 @@ parse_options(int argc, char **argv)
|
||||
|
||||
switch (c) {
|
||||
case 'n':
|
||||
printf("%s", optarg);
|
||||
if(strcmp("inet", optarg) == 0 || strcmp("INET", optarg) == 0)
|
||||
netsplit.netsplit_inet_mode = 1;
|
||||
if(strcmp("ntk", optarg) == 0 || strcmp("NTK", optarg) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user