netsplit debug info

This commit is contained in:
MissValeska 2014-11-06 20:04:02 -08:00
parent de9f35eb02
commit 796c09a799

View File

@ -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)