From: Jo-Philipp Wich Date: Wed, 25 Nov 2009 02:20:34 +0000 (+0000) Subject: applications/luci-fw: don't allow removing common settings X-Git-Tag: 0.10.0~913 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=46fea6f6ccfa6fc37e434fd5f092bf0bd8ece483;p=oweals%2Fluci.git applications/luci-fw: don't allow removing common settings --- diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua index 7dc48774f..eacb00f4f 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua @@ -23,6 +23,7 @@ nw.init(m.uci) s = m:section(TypedSection, "defaults") s.anonymous = true +s.addremove = false s:option(Flag, "syn_flood")