diff options
author | Brett Mastbergen <bmastbergen@untangle.com> | 2018-12-11 14:09:22 -0500 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-12-16 00:57:20 +0100 |
commit | 2b6eab507a2679a7be70740dd7f42860c59bec9e (patch) | |
tree | 2a41161cd4553dcad6ddf6d63cd311149fe5bf1e /package/kernel | |
parent | 0c3c944d1eba362fd4f600aaee796de4b77bcaa5 (diff) | |
download | upstream-2b6eab507a2679a7be70740dd7f42860c59bec9e.tar.gz upstream-2b6eab507a2679a7be70740dd7f42860c59bec9e.tar.bz2 upstream-2b6eab507a2679a7be70740dd7f42860c59bec9e.zip |
netfilter: Add fib support for nftables
Signed-off-by: Brett Mastbergen <bmastbergen@untangle.com>
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/netfilter.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index 0ba66caf7d..25715be5d1 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -1164,3 +1164,15 @@ define KernelPackage/nft-netdev endef $(eval $(call KernelPackage,nft-netdev)) + + +define KernelPackage/nft-fib + SUBMENU:=$(NF_MENU) + TITLE:=Netfilter nf_tables fib support + DEPENDS:=+kmod-nft-core + FILES:=$(foreach mod,$(NFT_FIB-m),$(LINUX_DIR)/net/$(mod).ko) + AUTOLOAD:=$(call AutoProbe,$(notdir $(NFT_FIB-m))) + KCONFIG:=$(KCONFIG_NFT_FIB) +endef + +$(eval $(call KernelPackage,nft-fib)) |