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/planner_reserve Commit: 55739f93b877dfcc878b1e86ed8bee64744852aa Parents: a92abaa Author: Jayapal <[email protected]> Authored: Fri May 10 17:53:45 2013 +0530 Committer: Kishan Kavala <[email protected]> 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() {
