mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-25 03:32:20 +00:00
netsplit debug info
This commit is contained in:
parent
de9f35eb02
commit
796c09a799
@ -437,7 +437,7 @@ parse_options(int argc, char **argv)
|
|||||||
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'n':
|
case 'n':
|
||||||
printf("%s", optarg);
|
printf("netsplit argument: %s", optarg);
|
||||||
if(strcmp("inet", optarg) == 0 || strcmp("INET", optarg) == 0)
|
if(strcmp("inet", optarg) == 0 || strcmp("INET", optarg) == 0)
|
||||||
netsplit.netsplit_inet_mode = 1;
|
netsplit.netsplit_inet_mode = 1;
|
||||||
if(strcmp("ntk", optarg) == 0 || strcmp("NTK", optarg) == 0)
|
if(strcmp("ntk", optarg) == 0 || strcmp("NTK", optarg) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user