From de49fbad6f2819b0f66b28a464e347eddd605d4d Mon Sep 17 00:00:00 2001 From: Chiradeep Vittal Date: Thu, 18 Nov 2010 13:54:17 -0800 Subject: [PATCH] 1-1-NAT feature broke regular NAT, fixing --- patches/systemvm/debian/config/root/firewall.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/patches/systemvm/debian/config/root/firewall.sh b/patches/systemvm/debian/config/root/firewall.sh index d8f698b2ba3..2def133e108 100755 --- a/patches/systemvm/debian/config/root/firewall.sh +++ b/patches/systemvm/debian/config/root/firewall.sh @@ -195,9 +195,8 @@ done #1:1 NAT if [ "$Gflag" == "1" ] - then - add_one_to_one_nat_entry $instanceIp $publicIp $domRIp $op - fi +then + add_one_to_one_nat_entry $instanceIp $publicIp $domRIp $op exit $? fi