More fixes to last large patch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8292 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-03-14 03:11:52 +00:00
parent 5c530522f8
commit 097fe9bfa6

View File

@ -916,7 +916,8 @@ setup_ecn() # $1 = file name
build_exclusion_chain() # $1 = variable to store chain name into $2 = table, $3 = SOURCE exclusion list, $4 = DESTINATION exclusion list
{
local c
c=excl_${EXCLUSION_SEQ} net
c=excl_${EXCLUSION_SEQ}
local net
EXCLUSION_SEQ=$(( $EXCLUSION_SEQ + 1 ))
@ -3389,7 +3390,8 @@ complete_standard_chain() # $1 = chain, $2 = source zone, $3 = destination zone
rules_chain() # $1 = source zone, $2 = destination zone
{
local chain
chain=${1}2${2} local policy
chain=${1}2${2}
local policy
havechain $chain && { echo $chain; return; }