[openwrt/openwrt] netfilter: fix typo in nf-socket and nf-tproxy kconfig

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 23 08:53:02 PDT 2023


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/2034387af45f11c933e36ebdde4ca198c45068f9

commit 2034387af45f11c933e36ebdde4ca198c45068f9
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Fri Jun 23 17:44:10 2023 +0200

    netfilter: fix typo in nf-socket and nf-tproxy kconfig
    
    Fix a typo where the wrong KCONFIG was used and fix selecting the
    correct kernel config option to use these packages.
    
    Fixes: 4f443c885ded ("netfilter: separate packages for kmod-ipt-socket and kmod-ipt-tproxy")
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
    (cherry picked from commit 3ebebf08be950a8a0f3bf5b2c3db910621f2cc21)
---
 package/kernel/linux/modules/netfilter.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 44c0e829bb..385c516e90 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -188,7 +188,7 @@ $(eval $(call KernelPackage,nf-flow))
 define KernelPackage/nf-socket
   SUBMENU:=$(NF_MENU)
   TITLE:=Netfilter socket lookup support
-  KCONFIG:= $(KCOFNIG_NF_SOCKET)
+  KCONFIG:= $(KCONFIG_NF_SOCKET)
   FILES:=$(foreach mod,$(NF_SOCKET-m),$(LINUX_DIR)/net/$(mod).ko)
   AUTOLOAD:=$(call AutoProbe,$(notdir $(NF_SOCKET-m)))
 endef
@@ -199,7 +199,7 @@ $(eval $(call KernelPackage,nf-socket))
 define KernelPackage/nf-tproxy
   SUBMENU:=$(NF_MENU)
   TITLE:=Netfilter tproxy support
-  KCONFIG:= $(KCOFNIG_NF_TPROXY)
+  KCONFIG:= $(KCONFIG_NF_TPROXY)
   FILES:=$(foreach mod,$(NF_TPROXY-m),$(LINUX_DIR)/net/$(mod).ko)
   AUTOLOAD:=$(call AutoProbe,$(notdir $(NF_TPROXY-m)))
 endef




More information about the lede-commits mailing list