1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Fix --enable-packet-ring config option for libpcap, was impossible to enable

This commit is contained in:
dmiller
2015-04-28 13:18:22 +00:00
parent c8db85bc4a
commit fce840446d
2 changed files with 17 additions and 4 deletions

View File

@@ -8,7 +8,8 @@ This allows the creation of 32-bit binaries that are compatible with
--- ---
configure.in | 18 ++++++++++++++++++ configure.in | 18 ++++++++++++++++++
pcap-linux.c | 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 diff --git configure.in configure.in
index 24097b2..5eca6ab 100644 index 24097b2..5eca6ab 100644
@@ -74,6 +75,15 @@ index 17bd0f5..bd2457d 100644
#endif /* PF_PACKET */ #endif /* PF_PACKET */
#ifdef SO_ATTACH_FILTER #ifdef SO_ATTACH_FILTER
-- --- config.h.in
1.7.9.5 +++ 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

View File

@@ -271,6 +271,9 @@
/* target host supports USB sniffing */ /* target host supports USB sniffing */
#undef PCAP_SUPPORT_USB #undef PCAP_SUPPORT_USB
/* target host supports packet ring capture */
#undef PCAP_SUPPORT_PACKET_RING
/* include ACN support */ /* include ACN support */
#undef SITA #undef SITA