appneta / tcpreplay

Pcap editing and replay tools for *NIX and Windows - Users please download source from
http://tcpreplay.appneta.com/wiki/installation.html#downloads
1.19k stars 268 forks source link

Bug #632 fix pps invalid value protection #633

Closed idogoshen closed 3 years ago

idogoshen commented 3 years ago
cgs@idog-ubuntu:~/workspace/tcpreplay$ src/tcpreplay -i docker0 --pps abc --stats 1 tcp.pcap 
Warning: May need to run as root to get access to all network interfaces.

Fatal Error: Unable to parse args: invalid pps value 'abc'
fklassen commented 3 years ago

Didn't see this PR until after closing #632 with my own fix. Thanks for submission.

fklassen commented 3 years ago

Reopening ... backed out my changes in favour of this PR.