applications/luci-firewall: fix display bug in snat rule overview, proto all rules...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 19 Mar 2013 16:36:25 +0000 (16:36 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 19 Mar 2013 16:36:25 +0000 (16:36 +0000)
applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua

index 0f7462bcdc4c2856b1711665d7442409c3e56fbe..9bfa66bd083671858375e5c2e40f5b0f3b33a288 100644 (file)
@@ -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 }