From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: [PATCH] pcap: Remove check for pcap_sendpacket Date: Thu, 6 Mar 2014 10:00:40 +0100 Message-ID: <1394096440-50930-2-git-send-email-liljegren.mats2@gmail.com> References: <1394096440-50930-1-git-send-email-liljegren.mats2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain To: Return-path: In-Reply-To: <1394096440-50930-1-git-send-email-liljegren.mats2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" From: Mats Liljegren 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 --- 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 -#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