From fce840446d7fc1a6f07c657c5c73bacd88638702 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 28 Apr 2015 13:18:22 +0000 Subject: [PATCH] Fix --enable-packet-ring config option for libpcap, was impossible to enable --- ...-disable-packet-ring-configure-option.patch | 18 ++++++++++++++---- libpcap/config.h.in | 3 +++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/libpcap/NMAP_MODIFICATIONS/0002-Add-the-disable-packet-ring-configure-option.patch b/libpcap/NMAP_MODIFICATIONS/0002-Add-the-disable-packet-ring-configure-option.patch index f3c6853e4..89372bb90 100644 --- a/libpcap/NMAP_MODIFICATIONS/0002-Add-the-disable-packet-ring-configure-option.patch +++ b/libpcap/NMAP_MODIFICATIONS/0002-Add-the-disable-packet-ring-configure-option.patch @@ -8,7 +8,8 @@ This allows the creation of 32-bit binaries that are compatible with --- configure.in | 18 ++++++++++++++++++ pcap-linux.c | 18 ++++++++++-------- - 2 files changed, 28 insertions(+), 8 deletions(-) + config.h.in | 3 +++ + 3 files changed, 31 insertions(+), 8 deletions(-) diff --git configure.in configure.in index 24097b2..5eca6ab 100644 @@ -74,6 +75,15 @@ index 17bd0f5..bd2457d 100644 #endif /* PF_PACKET */ #ifdef SO_ATTACH_FILTER --- -1.7.9.5 - +--- config.h.in ++++ config.h.in +@@ -271,6 +271,9 @@ + /* target host supports USB sniffing */ + #undef PCAP_SUPPORT_USB + ++/* target host supports packet ring capture */ ++#undef PCAP_SUPPORT_PACKET_RING ++ + /* include ACN support */ + #undef SITA + diff --git a/libpcap/config.h.in b/libpcap/config.h.in index c6bc68eb2..1fab143eb 100644 --- a/libpcap/config.h.in +++ b/libpcap/config.h.in @@ -271,6 +271,9 @@ /* target host supports USB sniffing */ #undef PCAP_SUPPORT_USB +/* target host supports packet ring capture */ +#undef PCAP_SUPPORT_PACKET_RING + /* include ACN support */ #undef SITA