summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-03-19 16:36:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-03-19 16:36:25 +0000
commit240eff0a56f8721b6be5d64cf35b6e3dbccae8fe (patch)
tree3e63dde4930aefc24353fcb3007a416ad4a8ebbf
parenta6becaf5b5d12eedb3902e33a61540e757abafde (diff)
applications/luci-firewall: fix display bug in snat rule overview, proto all rules got displayed as TCP+UDP
-rw-r--r--applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua b/applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua
index 0f7462bcd..9bfa66bd0 100644
--- 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 }