Hi, the above mentionend options (--with-testnic=/--with-testnic2=) makes it impossible to specify any interfaces at all: # tcpreplay -i vnet0 fud.pcap Fatal Error: Unable to parse args: Invalid interface name/alias: vnet0 It doesn't matter what interface you pass, it always fails and throws this error. This affects 4.0.5 as well as 4.1.0, in 4.0.4 it works however, so a regression. So right now tcpreplay is useless.
I don't see how those options affect the C source code. Did you make sure everything goes well when you remove them?
This seems related, though: checking if it's ok to use pcap_findalldevs()... no
Should be fixed now.