luci-app-ddns: ignore if name lookup progs not supporting force ip version
[project/luci.git] / applications / luci-app-ddns / luasrc / model / cbi / ddns / hints.lua
index 1f5ad68..21827b7 100644 (file)
@@ -116,9 +116,9 @@ if not DDNS.has_forceip then
                value = value .. "<br />- " ..
                        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 .. "<br />- " ..
-                       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