summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-unbound/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-unbound/luasrc/model')
-rw-r--r--applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua2
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"),