mirror of https://github.com/apache/cloudstack.git
fix CLOUDSTACK-2649 createLoadBalancerRule API:both ports getting same value(public port value assigned to private port)
This commit is contained in:
parent
07715b91af
commit
2276760b3b
|
|
@ -1395,7 +1395,7 @@ public class LoadBalancingRulesManagerImpl<Type> extends ManagerBase implements
|
|||
Purpose.LoadBalancing, FirewallRuleType.User, networkId, null);
|
||||
|
||||
LoadBalancerVO newRule = new LoadBalancerVO(xId, name, description,
|
||||
sourceIpId, srcPort, srcPort, algorithm,
|
||||
sourceIpId, srcPort, destPort, algorithm,
|
||||
networkId, ipAddr.getAllocatedToAccountId(), ipAddr.getAllocatedInDomainId());
|
||||
|
||||
// verify rule is supported by Lb provider of the network
|
||||
|
|
|
|||
Loading…
Reference in New Issue