summaryrefslogtreecommitdiffhomepage
path: root/applications
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
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')
-rw-r--r--applications/luci-app-ddns/Makefile2
-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
3 files changed, 2 insertions, 4 deletions
diff --git a/applications/luci-app-ddns/Makefile b/applications/luci-app-ddns/Makefile
index dadff5ab6..1e38c2522 100644
--- a/applications/luci-app-ddns/Makefile
+++ b/applications/luci-app-ddns/Makefile
@@ -10,7 +10,7 @@ PKG_NAME:=luci-app-ddns
# Version == major.minor.patch
# increase on new functionality (minor) or patches (patch)
-PKG_VERSION:=2.2.4
+PKG_VERSION:=2.3.1
# Release == build
# increase on changes of translation files
diff --git a/applications/luci-app-ddns/luasrc/controller/ddns.lua b/applications/luci-app-ddns/luasrc/controller/ddns.lua
index 29598ea8a..abaf1c76a 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 ecc413136..02331f44d 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