Skip to content

Commit 4df8b55

Browse files
authored
Update systemvm/debian/opt/cloud/bin/cs/CsAddress.py
1 parent 951d3fc commit 4df8b55

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
@@ -562,7 +562,7 @@ def fw_vpcrouter(self):
562562
if static_route['ip_address'] == self.address['public_ip'] and not static_route['revoke']:
563563
self.fw.append(["mangle", "",
564564
"-A PREROUTING -m state --state NEW -i %s -s %s ! -d %s/32 -j ACL_OUTBOUND_%s" %
565-
(self.dev, static_route['network'], static_route['gateway'], self.dev)])
565+
(self.dev, static_route['network'], static_route['ip_address'], self.dev)])
566566
self.fw.append(["filter", "", "-A FORWARD -d %s -o %s -j ACL_INBOUND_%s" %
567567
(static_route['network'], self.dev, self.dev)])
568568

0 commit comments

Comments
 (0)