diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-03-10 13:29:34 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-03-10 13:31:11 +0100 |
commit | 575fb0c84e271ec4519523c6e8fba7be7d2da1f8 (patch) | |
tree | ebdeae5abaef767e095410da43435f434dd5fb8d /applications/luci-app-ddns/root/usr/libexec | |
parent | abbff0f4b6d6c7df7d3dc642f1c4db42b3d2c895 (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-x | applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns | 3 |
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 |