Correct Typo and add length check for action names

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1504 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-07-29 15:49:21 +00:00
parent d2cba308ce
commit 97ae6f3f5d

View File

@ -1498,7 +1498,7 @@ setup_tunnels() # $1 = name of tunnels file
setup_one_generic() # $1 = gateway, $2 = kind:protocol[:port], $3 = Gateway Zone
{
local procotol
local protocol
local p=
case $2 in
@ -2931,6 +2931,7 @@ process_actions1() {
case $xaction in
*:*)
temp=${xaction#*:}
[ ${#temp} -lt 12 ] || fatal_error "Action Name Too Long: $temp"
xaction=${xaction%:*}
case $temp in
ACCEPT|REJECT|DROP)