diff options
author | Avinesh Singh <gitlocal@avine.sh> | 2021-10-30 14:25:13 +0530 |
---|---|---|
committer | Avinesh Singh <gitlocal@avine.sh> | 2021-10-30 14:25:18 +0530 |
commit | fce70a08ccb5d489a8625f86b78ed33cad386e6b (patch) | |
tree | 1462dad8a818c005c16daa8689cd0f57ee16b786 /applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua | |
parent | 0740023a3c44ebfb47126b8c9bb4e9a20985aa55 (diff) |
luci-app-unbound: fix error on empty leasetrigger
Signed-off-by: Avinesh Singh <gitlocal@avine.sh>
Diffstat (limited to 'applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua')
-rw-r--r-- | applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua b/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua index a1b3661536..acbd7c2aed 100644 --- a/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua +++ b/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua @@ -19,7 +19,7 @@ local ds = require "luci.dispatcher" local ucl = luci.model.uci.cursor() local valman = ucl:get_first("unbound", "unbound", "manual_conf") local dhcplk = ucl:get_first("unbound", "unbound", "dhcp_link") -local lstrig = ucl:get_first("dhcp", "odhcpd", "leasetrigger") +local lstrig = ucl:get_first("dhcp", "odhcpd", "leasetrigger") or "undefined" m1 = Map("unbound") s1 = m1:section(TypedSection, "unbound", translate("Recursive DNS"), |