From: Jo-Philipp Wich Date: Thu, 10 Mar 2022 12:29:34 +0000 (+0100) Subject: luci-app-ddns: assume IPv6 support if nftables is present X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=575fb0c84e271ec4519523c6e8fba7be7d2da1f8;p=project%2Fluci.git luci-app-ddns: assume IPv6 support if nftables is present Fixes: #5692 Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns index 653e63c16a..132c186642 100755 --- a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns +++ b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns @@ -271,7 +271,8 @@ local methods = { res['has_cacerts'] = check_certs() or false - res['has_ipv6'] = (fs.access("/proc/net/ipv6_route") and fs.access("/usr/sbin/ip6tables")) + res['has_ipv6'] = (fs.access("/proc/net/ipv6_route") and + (fs.access("/usr/sbin/ip6tables") or fs.access("/usr/sbin/nft"))) return res end