[LEDE-DEV] [PATCH] libpcap: add optional netfilter support

Felix Fietkau nbd at nbd.name
Fri Feb 17 07:11:21 PST 2017


On 2017-02-16 11:00, Martin Schiller wrote:
> This is needed to use the nflog interface with tcpdump
> 
> Signed-off-by: Martin Schiller <mschiller at tdt.de>
> ---
>  package/libs/libpcap/Config.in | 5 +++++
>  package/libs/libpcap/Makefile  | 7 +++++--
>  2 files changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/package/libs/libpcap/Config.in b/package/libs/libpcap/Config.in
> index 5fee75a..764d471 100644
> --- a/package/libs/libpcap/Config.in
> +++ b/package/libs/libpcap/Config.in
> @@ -12,4 +12,9 @@ config PCAP_HAS_BT
>  	depends on BROKEN
>  	default n
>  
> +config PCAP_HAS_NETFILTER
> +	bool "Include netfilter support"
> +	select PACKAGE_kmod-ipt-nflog
Please remove the "select" line, it is unnecessary and only complicates
things.

- Felix



More information about the Lede-dev mailing list