diff options
| author | Steven Barth <steven@midlink.org> | 2008-09-24 19:15:25 +0000 |
|---|---|---|
| committer | Steven Barth <steven@midlink.org> | 2008-09-24 19:15:25 +0000 |
| commit | d99a7020e8420f6583796f912975b9bb88f13d4e (patch) | |
| tree | 6395b48c6a6477873b126d00c0711e635c59793f /applications | |
| parent | d2df455f799ea789068e285b5b693039aba4a741 (diff) | |
Added REJECT target to firewall zone configuration
Diffstat (limited to 'applications')
| -rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/general.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/general.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/general.lua index 3ef3275cad..38f95136d0 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/general.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/general.lua @@ -25,6 +25,7 @@ p[2] = s:option(ListValue, "output") p[3] = s:option(ListValue, "forward") for i, v in ipairs(p) do + v:value("REJECT", translate("fw_reject")) v:value("DROP", translate("fw_drop")) v:value("ACCEPT", translate("fw_accept")) end @@ -44,6 +45,7 @@ p[2] = s:option(ListValue, "output") p[3] = s:option(ListValue, "forward") for i, v in ipairs(p) do + v:value("REJECT", translate("fw_reject")) v:value("DROP", translate("fw_drop")) v:value("ACCEPT", translate("fw_accept")) end @@ -60,4 +62,4 @@ function net.cfgvalue(self, section) return value or name:cfgvalue(section) end -return m
\ No newline at end of file +return m |
