From c0bf7f5c4622bec7cee31e5b388bef9e5799b461 Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 18 Oct 2006 23:29:54 +0000 Subject: [PATCH] Fix syntax error; shorten chain name to < 30 chars git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4704 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index ddf89fa74..c0ec4e0d5 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -4091,6 +4091,7 @@ activate_rules() num=$(($num + 1)) run_iptables -t nat -I $c $num -i $interface -s $networks -j RETURN done + } # # Insert a set of exclusions at the front of a chain # @@ -4313,7 +4314,7 @@ activate_rules() fi ;; *2all) - chain1=${chain}_${zone1}_exclusions + chain1=${chain}_${zone1}_ex if ! havechain $chain1; then createchain $chain1 no insert_exclusions $chain1 $exclusions1