From 7f94e2afcf090f751c9f7f7ea46e8ef8d93ee84b Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Tue, 21 Apr 2020 02:29:51 -0600 Subject: kmod-nft-reject: Fix for "nft_reject_ipv4.ko missing" warning Seeing the following: ERROR: module '/home/philipp/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.33/net/ipv4/netfilter/nft_reject_ipv4.ko' is missing. modules/netfilter.mk:1068: recipe for target '/home/philipp/lede/bin/targets/x86/64/packages/kmod-nft-core_5.4.33-1_x86_64.ipk' failed make[3]: *** [/home/philipp/lede/bin/targets/x86/64/packages/kmod-nft-core_5.4.33-1_x86_64.ipk] Error 1 Signed-off-by: Philip Prindeville --- package/kernel/linux/modules/netfilter.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/kernel/linux') diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index 83bb59be83..9f9798179f 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -1058,6 +1058,9 @@ define KernelPackage/nft-core KCONFIG:= \ CONFIG_NFT_COMPAT=n \ CONFIG_NFT_QUEUE=n \ + CONFIG_NFT_REJECT_INET \ + CONFIG_NFT_REJECT_IPV4 \ + CONFIG_NFT_REJECT_IPV6 \ $(KCONFIG_NFT_CORE) endef -- cgit v1.2.3