summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/root/usr/libexec
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-03-10 13:29:34 +0100
committerJo-Philipp Wich <jo@mein.io>2022-03-10 13:31:11 +0100
commit575fb0c84e271ec4519523c6e8fba7be7d2da1f8 (patch)
treeebdeae5abaef767e095410da43435f434dd5fb8d /applications/luci-app-ddns/root/usr/libexec
parentabbff0f4b6d6c7df7d3dc642f1c4db42b3d2c895 (diff)
luci-app-ddns: assume IPv6 support if nftables is present
Fixes: #5692 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-ddns/root/usr/libexec')
-rwxr-xr-xapplications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns3
1 files changed, 2 insertions, 1 deletions
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