Fixed the scan command line option to mstpcap demo utility.

This commit is contained in:
skarg
2015-09-24 21:43:24 +00:00
parent 504b7c3713
commit ca0092d4ee
+2
View File
@@ -1001,8 +1001,10 @@ int main(
if (packet_count) { if (packet_count) {
packet_statistics_print(); packet_statistics_print();
} }
Exit_Requested = true;
} else { } else {
fprintf(stderr, "File header does not match.\n"); fprintf(stderr, "File header does not match.\n");
return 1;
} }
} }
if (strcmp(argv[argi], "--extcap-interfaces") == 0) { if (strcmp(argv[argi], "--extcap-interfaces") == 0) {