summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-12-31 12:14:13 +0100
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-12-31 12:14:13 +0100
commit2dd9ccef6958866f38f05c73ef514b8f5d01c4b8 (patch)
tree1ac3e07c4faf0980397f19dab0a6f5ab7d95c91f /applications/luci-app-ddns/luasrc
parentf1686925909407e617de28a572c3e50a727934cb (diff)
luci-app-ddns: removing unneeded assert
- remove unneeded assert() in tools/ddns.lua - correct PKG_VERSION to the correct value from controller/ddns.lua Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Diffstat (limited to 'applications/luci-app-ddns/luasrc')
-rwxr-xr-x[-rw-r--r--]applications/luci-app-ddns/luasrc/controller/ddns.lua2
-rwxr-xr-x[-rw-r--r--]applications/luci-app-ddns/luasrc/tools/ddns.lua2
2 files changed, 1 insertions, 3 deletions
diff --git a/applications/luci-app-ddns/luasrc/controller/ddns.lua b/applications/luci-app-ddns/luasrc/controller/ddns.lua
index 29598ea8ad..abaf1c76a3 100644..100755
--- a/applications/luci-app-ddns/luasrc/controller/ddns.lua
+++ b/applications/luci-app-ddns/luasrc/controller/ddns.lua
@@ -22,7 +22,7 @@ local srv_ver_min = "2.5.0" -- minimum version of service required
local srv_ver_cmd = [[/usr/lib/ddns/dynamic_dns_updater.sh --version | awk {'print $2'}]]
local app_name = "luci-app-ddns"
local app_title = "Dynamic DNS"
-local app_version = "2.3.0-1"
+local app_version = "2.3.1-1"
function index()
local nxfs = require "nixio.fs" -- global definitions not available
diff --git a/applications/luci-app-ddns/luasrc/tools/ddns.lua b/applications/luci-app-ddns/luasrc/tools/ddns.lua
index ecc4131364..02331f44d0 100644..100755
--- a/applications/luci-app-ddns/luasrc/tools/ddns.lua
+++ b/applications/luci-app-ddns/luasrc/tools/ddns.lua
@@ -166,8 +166,6 @@ function value_parse(self, section, novld)
return -- so data is missing
end
end
- -- for whatever reason errtxt set and not handled above
- assert( not (errtxt and (#errtxt > 0)), "unhandled validate error" )
-- lets continue with value returned from validate
eq_cfg = ( vvalue == cvalue ) -- update equal_config flag