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:
a6becaf
)
applications/luci-firewall: fix display bug in snat rule overview, proto all rules...
author
Jo-Philipp Wich
<redacted>
Tue, 19 Mar 2013 16:36:25 +0000
(16:36 +0000)
committer
Jo-Philipp Wich
<redacted>
Tue, 19 Mar 2013 16:36:25 +0000
(16:36 +0000)
applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua
patch
|
blob
|
history
diff --git
a/applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua
b/applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua
index 0f7462bcdc4c2856b1711665d7442409c3e56fbe..9bfa66bd083671858375e5c2e40f5b0f3b33a288 100644
(file)
--- a/
applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua
+++ b/
applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua
@@
-87,7
+87,7
@@
ft.opt_name(s, DummyValue, translate("Name"))
local function rule_proto_txt(self, s)
local f = self.map:get(s, "family")
local p = ft.fmt_proto(self.map:get(s, "proto"),
- self.map:get(s, "icmp_type")) or
"TCP+UDP"
+ self.map:get(s, "icmp_type")) or
translate("traffic")
if f and f:match("4") then
return "%s-%s" %{ translate("IPv4"), p }
git clone https://git.99rst.org/PROJECT