summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-25 02:20:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-25 02:20:34 +0000
commit46fea6f6ccfa6fc37e434fd5f092bf0bd8ece483 (patch)
tree552ec0955d13c6d5f5766af6e99f9c0a203a75aa /applications
parent3a16b20c966f6931cc378f8e6b950483c958907f (diff)
applications/luci-fw: don't allow removing common settings
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua1
1 files changed, 1 insertions, 0 deletions
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")