mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 19:21:21 +02:00
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
This commit is contained in:
parent
e39e935a80
commit
c0bf7f5c46
@ -4091,6 +4091,7 @@ activate_rules()
|
|||||||
num=$(($num + 1))
|
num=$(($num + 1))
|
||||||
run_iptables -t nat -I $c $num -i $interface -s $networks -j RETURN
|
run_iptables -t nat -I $c $num -i $interface -s $networks -j RETURN
|
||||||
done
|
done
|
||||||
|
}
|
||||||
#
|
#
|
||||||
# Insert a set of exclusions at the front of a chain
|
# Insert a set of exclusions at the front of a chain
|
||||||
#
|
#
|
||||||
@ -4313,7 +4314,7 @@ activate_rules()
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*2all)
|
*2all)
|
||||||
chain1=${chain}_${zone1}_exclusions
|
chain1=${chain}_${zone1}_ex
|
||||||
if ! havechain $chain1; then
|
if ! havechain $chain1; then
|
||||||
createchain $chain1 no
|
createchain $chain1 no
|
||||||
insert_exclusions $chain1 $exclusions1
|
insert_exclusions $chain1 $exclusions1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user