projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made distinction between INPUT and FORWARD rules less ambiguous
[project/luci.git]
/
applications
/
luci-fw
/
luasrc
/
model
/
cbi
/
luci_fw
/
trule.lua
diff --git
a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
index
2538c1b
..
fa5b44e
100644
(file)
--- a/
applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
+++ b/
applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
@@
-25,12
+25,12
@@
back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "traff
name = s:option(Value, "_name", translate("name")..translate("cbi_optional"))
name.rmempty = true
name = s:option(Value, "_name", translate("name")..translate("cbi_optional"))
name.rmempty = true
-iface = s:option(ListValue, "src", translate("f
irewall_rule
_src"))
+iface = s:option(ListValue, "src", translate("f
w
_src"))
iface.rmempty = true
iface.rmempty = true
-oface = s:option(ListValue, "dest", translate("f
irewall_rule
_dest"))
-oface:value("")
-oface.
optional
= true
+oface = s:option(ListValue, "dest", translate("f
w
_dest"))
+oface:value(""
, translate("device", "device")
)
+oface.
rmempty
= true
luci.model.uci.cursor():foreach("firewall", "zone",
function (section)
luci.model.uci.cursor():foreach("firewall", "zone",
function (section)