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

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


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/2cef1c3277fc972b5fff249a218bf1e22b6282d9

commit 2cef1c3277fc972b5fff249a218bf1e22b6282d9
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 5bd1bfbbc7..0d2f8a9140 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -197,7 +197,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
@@ -208,7 +208,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