diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-03-19 16:36:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-03-19 16:36:25 +0000 |
commit | 240eff0a56f8721b6be5d64cf35b6e3dbccae8fe (patch) | |
tree | 3e63dde4930aefc24353fcb3007a416ad4a8ebbf /applications/luci-firewall/luasrc | |
parent | a6becaf5b5d12eedb3902e33a61540e757abafde (diff) |
applications/luci-firewall: fix display bug in snat rule overview, proto all rules got displayed as TCP+UDP
Diffstat (limited to 'applications/luci-firewall/luasrc')
-rw-r--r-- | applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua | 2 |
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 0f7462bcdc..9bfa66bd08 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 } |