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
parent 591c22b18f
commit 6c9410dce9

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')