summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-17 00:06:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-17 00:06:40 +0000
commit218ca5d73114466f0b48a5ac40c13ce9e9a4db1d (patch)
treeb0cd442449155fefab8b4c87e0687e5b2ef3bd21 /modules/admin-full/luasrc
parentbc17d19369f27372ec87d3c3ee31598a53c82370 (diff)
modules/admin-full: fix disabling of rebind protection in dnsmasq config
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua b/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua
index f9411c7a84..b9c6f07b35 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua
@@ -117,6 +117,8 @@ rp = s:taboption("general", Flag, "rebind_protection",
translate("Rebind protection"),
translate("Discard upstream RFC1918 responses"))
+rp.rmempty = false
+
rl = s:taboption("general", Flag, "rebind_localhost",
translate("Allow localhost"),