fixing build break due to commit a3a5862301b5b3d79abcf8dfef66283728954d55

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

Branch: refs/heads/ui-cisco-asa1000v-support
Commit: 64fb826640c0f10e5a58ccdfd53d0ce3a4d97a6b
Parents: 8b90966
Author: Murali Reddy <[email protected]>
Authored: Fri May 3 16:35:28 2013 +0530
Committer: Murali Reddy <[email protected]>
Committed: Fri May 3 16:35:28 2013 +0530

----------------------------------------------------------------------
 .../api/command/user/nat/EnableStaticNatCmd.java   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/64fb8266/api/src/org/apache/cloudstack/api/command/user/nat/EnableStaticNatCmd.java
----------------------------------------------------------------------
diff --git 
a/api/src/org/apache/cloudstack/api/command/user/nat/EnableStaticNatCmd.java 
b/api/src/org/apache/cloudstack/api/command/user/nat/EnableStaticNatCmd.java
index a0ec68e..902dbae 100644
--- a/api/src/org/apache/cloudstack/api/command/user/nat/EnableStaticNatCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/nat/EnableStaticNatCmd.java
@@ -120,7 +120,7 @@ public class EnableStaticNatCmd extends BaseCmd{
     @Override
     public void execute() throws ResourceUnavailableException{
         try {
-            boolean result = _rulesService.enableStaticNat(ipAddressId, 
virtualMachineId, getNetworkId(), false, getVmSecondaryIp());
+            boolean result = _rulesService.enableStaticNat(ipAddressId, 
virtualMachineId, getNetworkId(), getVmSecondaryIp());
             if (result) {
                 SuccessResponse response = new 
SuccessResponse(getCommandName());
                 this.setResponseObject(response);

Reply via email to