Merge pull request #616 from chris5560/master

luci-app-ddns: removing unneeded assert
This commit is contained in:
Christian Schoenebeck 2015-12-31 12:20:42 +01:00
commit 0f1e39a90a
3 changed files with 2 additions and 4 deletions

View file

@ -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

2
applications/luci-app-ddns/luasrc/controller/ddns.lua Normal file → Executable file
View file

@ -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

2
applications/luci-app-ddns/luasrc/tools/ddns.lua Normal file → Executable file
View file

@ -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