diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-08 15:20:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-08 15:20:07 +0000 |
commit | acb289083c6cc94363db8adbb94cfee8ff34938a (patch) | |
tree | 783188b42cf578928b7ee76e20f6d89a6792448f /applications/luci-firewall/luasrc/tools/firewall.lua | |
parent | df8601c86415bd048b00ce992b2bf2a81e9c4b38 (diff) |
applications/luci-firewall: fix rule table formatting, add mac & ip hints to various ip related fields
Diffstat (limited to 'applications/luci-firewall/luasrc/tools/firewall.lua')
-rw-r--r-- | applications/luci-firewall/luasrc/tools/firewall.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-firewall/luasrc/tools/firewall.lua b/applications/luci-firewall/luasrc/tools/firewall.lua index 55c417e135..26240aa7a4 100644 --- a/applications/luci-firewall/luasrc/tools/firewall.lua +++ b/applications/luci-firewall/luasrc/tools/firewall.lua @@ -1,7 +1,7 @@ --[[ LuCI - Lua Configuration Interface -Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> +Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -9,7 +9,6 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -$Id$ ]]-- module("luci.tools.firewall", package.seeall) @@ -154,6 +153,7 @@ function fmt_proto(x, icmp_types) v, n = fmt_neg(v) if v == "tcpudp" then l[#l+1] = "TCP" + l[#l+1] = ", " l[#l+1] = "UDP" l[#l+1] = ", " elseif v ~= "all" then |