jer         15/04/16 16:35:31

  Added:                tcpreplay-4.1.0-enable-pcap_findalldevs.patch
  Log:
  Fix configure logic in disabling pcap_findalldevs() (bug #546762).
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  
net-analyzer/tcpreplay/files/tcpreplay-4.1.0-enable-pcap_findalldevs.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tcpreplay/files/tcpreplay-4.1.0-enable-pcap_findalldevs.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tcpreplay/files/tcpreplay-4.1.0-enable-pcap_findalldevs.patch?rev=1.1&content-type=text/plain

Index: tcpreplay-4.1.0-enable-pcap_findalldevs.patch
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -1499,6 +1499,8 @@
     AC_MSG_WARN(Unable to do tests when cross-compiling)
 fi
 
+disable_pcap_findalldevs=no
+
 dnl Allows user to choose which nic to use for testing purposes
 AC_ARG_WITH(testnic,
     AC_HELP_STRING([--with-testnic=NIC], [Select which network card to use for 
testing]),
@@ -1509,7 +1511,6 @@
 
 dnl There's a bug in OS X which causes pcap_findalldevs() to make the wifi NIC 
to disassociate
 dnl so under OSX we disable the interface list feature
-disable_pcap_findalldevs=no
 
 osx_frameworks=no
 dnl these need to be dynamic based on OS




Reply via email to