summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc/tools/ddns.lua
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2016-03-07 10:56:07 +0100
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2016-03-07 10:56:07 +0100
commite1fb9e579a69406f0c7c632792f9602de0609709 (patch)
treed116635ccf548f65fba1c1c34d2aef8848c353b5 /applications/luci-app-ddns/luasrc/tools/ddns.lua
parentddc893ccc254e79b0869c709ada07f5ae232a0e3 (diff)
luci-app-ddns: fixes because uclient-fetch support "force ip version"
- corrections because uclient-fetch now support "force ip version" - remove translations already part of base.po/base.pot Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Diffstat (limited to 'applications/luci-app-ddns/luasrc/tools/ddns.lua')
-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 54791432b3..b326cd1206 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()