git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
fcd2b97
)
Added REJECT target to firewall zone configuration
author
Steven Barth
<redacted>
Wed, 24 Sep 2008 16:03:23 +0000
(16:03 +0000)
committer
Steven Barth
<redacted>
Wed, 24 Sep 2008 16:03:23 +0000
(16:03 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/general.lua
patch
|
blob
|
history
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 3ef3275cad2022ff59b82882302d0cdb7c9a28b1..38f95136d00f09d248336182f70c74f90ff8ad3f 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT