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