cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [09/32] git commit: updated refs/heads/ui-vpc-redesign to f3cc57f
Date Fri, 24 May 2013 18:09:48 GMT
fix CLOUDSTACK-2649 createLoadBalancerRule API:both ports getting same value(public port value
assigned to private port)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2276760b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2276760b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2276760b

Branch: refs/heads/ui-vpc-redesign
Commit: 2276760b3b38380c61097a15cc0cb3325a565b3d
Parents: 07715b9
Author: Mice Xia <mice_xia@tcloudcomputing.com>
Authored: Fri May 24 11:27:16 2013 +0800
Committer: Mice Xia <mice_xia@tcloudcomputing.com>
Committed: Fri May 24 11:27:16 2013 +0800

----------------------------------------------------------------------
 .../network/lb/LoadBalancingRulesManagerImpl.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2276760b/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java b/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
index 0118ca5..1d7b312 100755
--- a/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
+++ b/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
@@ -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


Mime
View raw message