From bdb05089e671028349b62cf96b2314945d1b331a Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 12 Jun 2002 16:15:26 +0000 Subject: [PATCH] Correct an indentation problem in firewall git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@64 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index b9266ad78..629be20dc 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -1447,13 +1447,13 @@ process_rule() { if [ -n "$cli" ]; then run_iptables -t nat -A POSTROUTING $proto $cli \ $sports -d $serv $dports -j SNAT --to-source $snat - else - for source_host in $source_hosts; do - run_iptables -t nat -A POSTROUTING \ - -s ${source_host#*:} $proto $sports \ - -d $serv $dports -j SNAT --to-source $snat - done - fi + else + for source_host in $source_hosts; do + run_iptables -t nat -A POSTROUTING \ + -s ${source_host#*:} $proto $sports \ + -d $serv $dports -j SNAT --to-source $snat + done + fi fi }