Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546762 - net-analyzer/tcpreplay: --with-testnic* configure options makes it impossible to specify any interfaces
Summary: net-analyzer/tcpreplay: --with-testnic* configure options makes it impossible...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 545118
  Show dependency tree
 
Reported: 2015-04-16 10:27 UTC by Christian Ruppert (idl0r)
Modified: 2015-04-16 16:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ruppert (idl0r) gentoo-dev 2015-04-16 10:27:23 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-16 16:07:07 UTC
I don't see how those options affect the C source code. Did you make sure everything goes well when you remove them?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-16 16:12:39 UTC
This seems related, though:

checking if it's ok to use pcap_findalldevs()... no
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-16 16:36:01 UTC
Should be fixed now.