pcapng support
@@ -645,6 +645,7 @@ neweapdbdata = eapdbdata;
eapdbrecords = 0;
printf("start reading from %s\n", pcapinname);
+
while((pcapstatus = pcap_next_ex(pcapin, &pkh, &packet)) != -2)
{
if(pcapstatus == 0)
@@ -994,6 +995,10 @@ while ((auswahl = getopt(argc, argv, "o:p:e:E:w:W:xrhv")) != -1)
replaycountcheck = TRUE;
break;
+ case 'h':
+ usage(eigenname);
+ break;
+
default:
usage(eigenname);
break;
