Rules should not be removed / created from the detailed rule configuration
[project/luci.git] / applications / luci-fw / luasrc / model / cbi / luci_fw / trule.lua
index fa5b44e..f860bff 100644 (file)
@@ -16,6 +16,7 @@ m = Map("firewall", translate("firewall_rule"), translate("firewall_rule_desc"))
 
 s = m:section(NamedSection, arg[1], "rule", "")
 s.anonymous = true
 
 s = m:section(NamedSection, arg[1], "rule", "")
 s.anonymous = true
+s.addremove = false
 
 back = s:option(DummyValue, "_overview", translate("overview"))
 back.value = ""
 
 back = s:option(DummyValue, "_overview", translate("overview"))
 back.value = ""