From: Mats Liljegren <mats.liljeg...@enea.com> Current test relies on the fact that pcap_sendpacket is a macro. Since it is a function, the test fails, causing loss of sending ability when using pcap.
Signed-off-by: Mats Liljegren <mats.liljegren at enea.com> --- lib/librte_pmd_pcap/rte_eth_pcap.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.h b/lib/librte_pmd_pcap/rte_eth_pcap.h index c0bc5d8..0e28e0b 100644 --- a/lib/librte_pmd_pcap/rte_eth_pcap.h +++ b/lib/librte_pmd_pcap/rte_eth_pcap.h @@ -39,11 +39,7 @@ extern "C" { #endif #include <pcap.h> -#ifdef pcap_sendpacket #define PCAP_CAN_SEND -#else -#undef PCAP_CAN_SEND -#endif #define RTE_ETH_PCAP_PARAM_NAME "eth_pcap" -- 1.7.10.4