From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by dpdk.org (Postfix) with SMTP id A4A7C2E8F for ; Thu, 6 Mar 2014 10:00:06 +0100 (CET) Received: from sestofb10.enea.se (172.21.3.145) by smtp.enea.com (172.21.1.208) with Microsoft SMTP Server id 14.3.158.1; Thu, 6 Mar 2014 10:01:34 +0100 Received: by sestofb10.enea.se (Postfix, from userid 2853) id EF8CD2800C6; Thu, 6 Mar 2014 10:01:34 +0100 (CET) From: To: Date: Thu, 6 Mar 2014 10:00:40 +0100 Message-ID: <1394096440-50930-2-git-send-email-liljegren.mats2@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1394096440-50930-1-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 Received-SPF: SoftFail (SESTOEX08.enea.se: domain of transitioning liljegren.mats2@gmail.com discourages use of 172.21.3.145 as permitted sender) Subject: [dpdk-dev] [PATCH] pcap: Remove check for pcap_sendpacket X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 09:00:07 -0000 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