From 777202cb116c2fd934f9f2d9206a06e7b5a92da9 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 24 Mar 2003 21:55:16 +0000 Subject: [PATCH] Remove superfluous -s specification git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@525 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index 8708a6b8f..afd42be35 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -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