cloudstack: cs_portforward: fix public_end_port was used for private_end_port

This commit is contained in:
Rene Moser 2015-07-19 14:57:08 +02:00 committed by Matt Clay
parent 280086f230
commit 743ed1cd82

View file

@ -261,7 +261,7 @@ class AnsibleCloudStackPortforwarding(AnsibleCloudStack):
public_port = self.module.params.get('public_port')
public_end_port = self.get_public_end_port()
private_port = self.module.params.get('private_port')
private_end_port = self.get_public_end_port()
private_end_port = self.get_private_end_port()
args = {}
args['ipaddressid'] = self.get_ip_address(key='id')