fix CLOUDSTACK-2649 createLoadBalancerRule API:both ports getting same value(public port value assigned to private port)

This commit is contained in:
Mice Xia 2013-05-24 11:27:16 +08:00
parent 07715b91af
commit 2276760b3b
1 changed files with 1 additions and 1 deletions

View File

@ -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