summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc/tools
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2016-03-07 10:57:44 +0100
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2016-03-07 10:57:44 +0100
commitd26bffefb360cf3b9f0698f48f18dbac083d65a2 (patch)
treed116635ccf548f65fba1c1c34d2aef8848c353b5 /applications/luci-app-ddns/luasrc/tools
parentddc893ccc254e79b0869c709ada07f5ae232a0e3 (diff)
parente1fb9e579a69406f0c7c632792f9602de0609709 (diff)
Merge pull request #664 from chris5560/master
luci-app-ddns: fixes because uclient-fetch support "force ip version"
Diffstat (limited to 'applications/luci-app-ddns/luasrc/tools')
-rwxr-xr-xapplications/luci-app-ddns/luasrc/tools/ddns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ddns/luasrc/tools/ddns.lua b/applications/luci-app-ddns/luasrc/tools/ddns.lua
index 54791432b..b326cd120 100755
--- a/applications/luci-app-ddns/luasrc/tools/ddns.lua
+++ b/applications/luci-app-ddns/luasrc/tools/ddns.lua
@@ -29,7 +29,7 @@ has_nslookup = (SYS.call( [[$(which nslookup) localhost 2>&1 | grep -qF "(null)"
has_ipv6 = (NXFS.access("/proc/net/ipv6_route") and NXFS.access("/usr/sbin/ip6tables"))
has_ssl = (has_wgetssl or has_curlssl or (has_fetch and has_fetchssl))
has_proxy = (has_wgetssl or has_curlpxy or has_fetch or has_bbwget)
-has_forceip = ((has_wgetssl or has_curl) and (has_bindhost or has_hostip))
+has_forceip = ((has_wgetssl or has_curl or has_fetch) and (has_bindhost or has_hostip))
has_dnsserver = (has_bindhost or has_hostip or has_nslookup)
has_bindnet = (has_wgetssl or has_curl)
has_cacerts = _check_certs()