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

Alexander Couzens lynxis at fe80.eu
Mon May 30 07:43:46 PDT 2016


On Mon, 30 May 2016 10:03:52 -0300
"Gabriel F.C. Mazzocato" <gabriel.mazzocato at gmail.com> wrote:

> > 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
you're right. but this is only a patch which removes the -DEFAULT:=n.
The line in benaeth the patch.

-- 
Alexander Couzens

mail: lynxis at fe80.eu
jabber: lynxis at fe80.eu
mobile: +4915123277221
gpg: 390D CF78 8BF9 AA50 4F8F  F1E2 C29E 9DA6 A0DF 8604
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20160530/83a05fc5/attachment.sig>


More information about the Lede-dev mailing list