mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
libpcap: add optional netfilter support
This is needed to use the nflog interface with tcpdump Signed-off-by: Martin Schiller <mschiller@tdt.de>
This commit is contained in:
parent
1d49b534f5
commit
fdfde3eb21
@ -10,4 +10,8 @@ config PCAP_HAS_BT
|
|||||||
depends on BROKEN
|
depends on BROKEN
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config PCAP_HAS_NETFILTER
|
||||||
|
bool "Include netfilter support"
|
||||||
|
default n
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -48,9 +48,12 @@ TARGET_CFLAGS += \
|
|||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
ac_cv_linux_vers=$(LINUX_VERSION) \
|
ac_cv_linux_vers=$(LINUX_VERSION) \
|
||||||
ac_cv_header_libusb_1_0_libusb_h=no \
|
ac_cv_header_libusb_1_0_libusb_h=no
|
||||||
ac_cv_netfilter_can_compile=no
|
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PCAP_HAS_NETFILTER),)
|
||||||
|
CONFIGURE_VARS += \
|
||||||
|
ac_cv_netfilter_can_compile=no
|
||||||
|
endif
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
Loading…
Reference in New Issue
Block a user