You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ki...@apache.org on 2013/05/14 08:57:43 UTC

git commit: updated refs/heads/master to 55739f9

Updated Branches:
  refs/heads/master a92abaa91 -> 55739f93b


CLOUDSTACK-2403 Fixed configuring private gateway with sourcenatsupported=false


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

Branch: refs/heads/master
Commit: 55739f93b877dfcc878b1e86ed8bee64744852aa
Parents: a92abaa
Author: Jayapal <ja...@citrix.com>
Authored: Fri May 10 17:53:45 2013 +0530
Committer: Kishan Kavala <ki...@cloud.com>
Committed: Tue May 14 12:22:08 2013 +0530

----------------------------------------------------------------------
 .../command/admin/vpc/CreatePrivateGatewayCmd.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/55739f93/api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
index 6decaad..22dfb9e 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
@@ -112,7 +112,7 @@ public class CreatePrivateGatewayCmd extends BaseAsyncCreateCmd {
         if (isSourceNat == null) {
             return false;
         }
-        return true;
+        return isSourceNat;
     }
 
     public Long getAclId() {