[OpenWrt-Devel] [PATCH] libpcap: USB support by default if usbmon is enabled

Bjørn Mork bjorn at mork.no
Tue Oct 20 07:28:27 EDT 2015


If building usbmon support then you'll likely want to have
USB support in libpcap as well.

Signed-off-by: Bjørn Mork <bjorn at mork.no>
---
 package/libs/libpcap/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libs/libpcap/Config.in b/package/libs/libpcap/Config.in
index 5fee75a59597..60b53a76fce1 100644
--- a/package/libs/libpcap/Config.in
+++ b/package/libs/libpcap/Config.in
@@ -4,7 +4,7 @@ menu "Configuration"
 config PCAP_HAS_USB
 	bool "Include USB support"
 	depends on PACKAGE_kmod-usb-core
-	default n
+	default PACKAGE_kmod-usbmon
 
 config PCAP_HAS_BT
 	bool "Include bluetooth support"
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list