From: Steven Barth Date: Thu, 29 Jan 2009 15:03:34 +0000 (+0000) Subject: Set default target to ACCEPT X-Git-Tag: 0.9.0~709 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3b0ef94a9ed53c49de428a5c673164b62c755d18;p=oweals%2Fluci.git Set default target to ACCEPT --- diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua index aa2e46d5a..c3efdd855 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/traffic.lua @@ -36,6 +36,7 @@ s.addremove = true s.anonymous = true s.template = "cbi/tblsection" s.extedit = luci.dispatcher.build_url("admin", "network", "firewall", "rule", "%s") +s.defaults.target = "ACCEPT" local created = nil