[LEDE-DEV] [RFC] Enable kmod-ipt-debug by default

Gabriel F.C. Mazzocato gabriel.mazzocato at gmail.com
Mon May 30 06:03:52 PDT 2016


> From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>
> The xt_TRACE kernel module can be used to debug the path of a network
> packet through the filter rules. Building it as a module by default (it
> is part of kmod-ipt-debug) would help in some situations.
>
> Untested.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>
> diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
> index 353de3e..9983b66 100644
> --- a/package/kernel/linux/modules/netfilter.mk
> +++ b/package/kernel/linux/modules/netfilter.mk
> @@ -424,7 +424,6 @@ $(eval $(call KernelPackage,ipt-nfqueue))
>  define KernelPackage/ipt-debug
>    TITLE:=Module for debugging/development
>    KCONFIG:=$(KCONFIG_IPT_DEBUG)
> -  DEFAULT:=n
>    FILES:=$(foreach mod,$(IPT_DEBUG-m),$(LINUX_DIR)/net/$(mod).ko)
>    AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_DEBUG-m)))
>    $(call AddDepends/ipt)
>

Hi,
Didn't you miss the endef and $(eval $(call KernelPackage,ipt-debug))
after the dependency call ?
Just curious, mine won't work without those two.

Thank you
-- 
Att. Gabriel Mazzocato



More information about the Lede-dev mailing list