libpcap: USB support by default if usbmon is enabled
authorJohn Crispin <john@openwrt.org>
Mon, 26 Oct 2015 09:02:03 +0000 (09:02 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 26 Oct 2015 09:02:03 +0000 (09:02 +0000)
If building usbmon support then you'll likely want to have
USB support in libpcap as well.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
SVN-Revision: 47265

package/libs/libpcap/Config.in

index 5fee75a59597d5e60f9d156d3438d6fe504ae139..60b53a76fce1e80e59c7fd3753e6b70238420a20 100644 (file)
@@ -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"