mirror of https://github.com/openwrt/luci.git
luci-app-ddns: assume IPv6 support if nftables is present
Fixes: #5692 Signed-off-by: Jo-Philipp Wich <jo@mein.io>pull/5720/head
parent
abbff0f4b6
commit
575fb0c84e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue