projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abbff0f
)
luci-app-ddns: assume IPv6 support if nftables is present
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 10 Mar 2022 12:29:34 +0000
(13:29 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 10 Mar 2022 12:31:11 +0000
(13:31 +0100)
Fixes: #5692
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
patch
|
blob
|
history
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 653e63c16ad1cf5f4783b2856584164c82a55261..132c186642eabffc8290f954cb7f987cd92bc22e 100755
(executable)
--- 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