Skip to content

Commit

Permalink
Merge pull request #311 from cglewis/master
Browse files Browse the repository at this point in the history
fix infinite loop
  • Loading branch information
cglewis authored May 6, 2020
2 parents 2e0f37f + 43f1f33 commit b98b1f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pcap_to_node_pcap/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ int main(int argc, char* argv[])
{
switch (opt)
{
case 0:
break;
case 'f':
inputPcapFileName = optarg;
break;
Expand All @@ -252,7 +254,8 @@ int main(int argc, char* argv[])
printAppVersion();
break;
default:
break;
printUsage();
exit(-1);
}
}

Expand Down

0 comments on commit b98b1f1

Please sign in to comment.