Fix bug where -p was ignored

refs #9637
This commit is contained in:
Jean Flach 2015-07-16 13:07:19 +02:00 committed by Gunnar Beutner
parent 0c0a1887e3
commit 5209b65482
1 changed files with 2 additions and 2 deletions

View File

@ -194,8 +194,8 @@ INT parseArguments(INT ac, WCHAR **av, po::variables_map& vm, printInfoStruct& p
if (vm.count("timeout"))
printInfo.timeout = vm["timeout"].as<INT>();
if (vm.count("count"))
printInfo.num = vm["count"].as<INT>();
if (vm.count("packets"))
printInfo.num = vm["packets"].as<INT>();
if (vm.count("-6"))
printInfo.ipv4 = FALSE;