applications/luci-fw: don't allow removing common settings
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:20:34 +0000 (02:20 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:20:34 +0000 (02:20 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua

index 7dc48774fc6eff3a1d01b0ff6c03bc9edeb66552..eacb00f4f487e34915e0b8d8f58e7469810dcf3f 100644 (file)
@@ -23,6 +23,7 @@ nw.init(m.uci)
 
 s = m:section(TypedSection, "defaults")
 s.anonymous = true
+s.addremove = false
 
 s:option(Flag, "syn_flood")