Skip to content

Commit 2fa9d88

Browse files
committed
Update systemvm/debian/opt/cloud/bin/cs/CsAddress.py
1 parent 45ede9d commit 2fa9d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemvm/debian/opt/cloud/bin/cs/CsAddress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def fw_vpcrouter(self):
564564
if static_route['ip_address'] == self.address['public_ip'] and not static_route['revoke']:
565565
self.fw.append(["mangle", "",
566566
"-A PREROUTING -m state --state NEW -i %s -s %s ! -d %s/32 -j ACL_OUTBOUND_%s" %
567-
(self.dev, static_route['network'], static_route['gateway'], self.dev)])
567+
(self.dev, static_route['network'], static_route['ip_address'], self.dev)])
568568
self.fw.append(["filter", "", "-A FORWARD -d %s -o %s -j ACL_INBOUND_%s" %
569569
(static_route['network'], self.dev, self.dev)])
570570

0 commit comments

Comments
 (0)