From 097fe9bfa6097a3d63b32314c898f9de59154ff7 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 14 Mar 2008 03:11:52 +0000 Subject: [PATCH] More fixes to last large patch git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8292 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/compiler | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Shorewall-shell/compiler b/Shorewall-shell/compiler index 3f1fd0c47..45fc44c47 100755 --- a/Shorewall-shell/compiler +++ b/Shorewall-shell/compiler @@ -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; }