mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 05:01:29 +00:00
Fix --enable-packet-ring config option for libpcap, was impossible to enable
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user