luci-mod-admin-full: correct logic for dnsmasq boguspriv keyword
authormuddyfeet <warren@linton.id.au>
Tue, 25 Apr 2017 11:52:04 +0000 (12:52 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 25 Apr 2017 12:40:18 +0000 (14:40 +0200)
commit46697828292750d4b240fcc132157a335d22dfd7
treeb004a8325ede6bc188f3a559e14b9cfa29f5cf18
parent8701c8b001a9c18b7f8d66b29943073e797158f0
luci-mod-admin-full: correct logic for dnsmasq boguspriv keyword

Prevents deletion of the UCI dns boguspriv keyword and explicitly sets it to
either 0 or removes it as the LEDE/Openwrt dnsmasq.conf default is 1 - not 0.

This allows boguspriv to be turned off from the GUI.

Signed-off-by: Warren Linton <warren@linton.id.au>
[Jo-Philipp Wich: squashed commits, updated commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua