From: Jo-Philipp Wich Date: Wed, 17 Nov 2010 00:06:40 +0000 (+0000) Subject: modules/admin-full: fix disabling of rebind protection in dnsmasq config X-Git-Tag: 0.10.0~451 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=218ca5d73114466f0b48a5ac40c13ce9e9a4db1d;p=oweals%2Fluci.git modules/admin-full: fix disabling of rebind protection in dnsmasq config --- 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 f9411c7a8..b9c6f07b3 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"),