|
@@ -24,6 +24,18 @@ config BR2_PACKAGE_IPTABLES_NFTABLES
|
|
|
help
|
|
|
Build nftables compat utilities.
|
|
|
|
|
|
+if BR2_PACKAGE_IPTABLES_NFTABLES
|
|
|
+
|
|
|
+config BR2_PACKAGE_IPTABLES_NFTABLES_DEFAULT
|
|
|
+ bool "use nftables compat by default"
|
|
|
+ help
|
|
|
+ Make the nftables compat variant of iptables, iptables-save,
|
|
|
+ and iptables-restore the default. This only adjusts symlinks
|
|
|
+ in /usr/sbin, the legacy variants can still be called
|
|
|
+ directly.
|
|
|
+
|
|
|
+endif
|
|
|
+
|
|
|
comment "nftables compat needs a toolchain w/ wchar, dynamic library, headers >= 3.12"
|
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
|
|
|
!BR2_USE_WCHAR || BR2_STATIC_LIBS
|