From 2d9472db9fc0dc492281bd1238cb1678b4b5962c Mon Sep 17 00:00:00 2001 From: Christian Schoenebeck Date: Sun, 25 Sep 2016 10:53:13 +0200 Subject: luci-app-ddns: ignore if name lookup progs not supporting force ip version - no longer verify installed name lookup programs to set has_forceip flag inside tools/ddns.lua - adapt messages inside hints.lua Signed-off-by: Christian Schoenebeck --- applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-ddns/luasrc/model/cbi') diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua index 1f5ad68c56..21827b7659 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua @@ -116,9 +116,9 @@ if not DDNS.has_forceip then value = value .. "
- " .. translate("You should install 'wget' or 'curl' or 'uclient-fetch' package.") end - if not (DDNS.has_bindhost or DDNS.has_hostip) then + if not DDNS.has_bindhost then value = value .. "
- " .. - translate("You should install 'bind-host' or 'knot-host' or 'drill' or 'hostip' package for DNS requests.") + translate("You should install 'bind-host' or 'knot-host' or 'drill' package for DNS requests.") end fi.value = value end -- cgit v1.2.3