mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
Remove superfluous -s specification
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@525 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b5d3078fa6
commit
777202cb11
@ -3709,10 +3709,8 @@ activate_rules()
|
||||
|
||||
if [ -n "$complex" ]; then
|
||||
chain1=$frwd_chain
|
||||
subnet=
|
||||
else
|
||||
chain1=`forward_chain $interface`
|
||||
subnet="-s ${host#*:}"
|
||||
fi
|
||||
|
||||
for host1 in $dest_hosts; do
|
||||
@ -3720,7 +3718,7 @@ activate_rules()
|
||||
subnet1=${host1#*:}
|
||||
|
||||
if [ "$host" != "$host1" ]; then
|
||||
run_iptables -A $chain1 $subnet -o $interface1 -d $subnet1 -j $chain
|
||||
run_iptables -A $chain1 -o $interface1 -d $subnet1 -j $chain
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user