From 688920e2889375d956d15cb8d865dabf911f18b4 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sat, 26 Nov 2022 21:38:47 +0800 Subject: [PATCH] shortcut-fe: fix build with IPv6 Fixes: #825 Signed-off-by: Tianling Shen --- package/network/utils/fast-classifier/Makefile | 1 + package/network/utils/shortcut-fe/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/package/network/utils/fast-classifier/Makefile b/package/network/utils/fast-classifier/Makefile index 34ecfd73ce..9181a73b25 100644 --- a/package/network/utils/fast-classifier/Makefile +++ b/package/network/utils/fast-classifier/Makefile @@ -16,6 +16,7 @@ define KernelPackage/fast-classifier CONFIG_NF_CONNTRACK_CHAIN_EVENTS=y \ CONFIG_NF_CONNTRACK_MARK=y DEPENDS:=+kmod-ipt-conntrack +kmod-shortcut-fe + # AUTOLOAD:=$(call AutoLoad,10,fast-classifier) endef define KernelPackage/fast-classifier/description diff --git a/package/network/utils/shortcut-fe/Makefile b/package/network/utils/shortcut-fe/Makefile index e8762ccb7b..27fbdbfbe2 100644 --- a/package/network/utils/shortcut-fe/Makefile +++ b/package/network/utils/shortcut-fe/Makefile @@ -65,6 +65,7 @@ define Build/Compile +$(KERNEL_MAKE) $(PKG_JOBS) \ M="$(PKG_BUILD_DIR)" \ EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ + SFE_SUPPORT_IPV6=1 \ modules endef