Skip to content

Commit ea738cb

Browse files
murali-reddychaturvedia
authored andcommitted
CLOUDSTACK-4442: Source NAT not applied when network starts up
fixing the buid break introduced with prev commit for this bug (cherry picked from commit 255c847) Signed-off-by: animesh <animesh@apache.org>
1 parent 1cd5383 commit ea738cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/network/vpc/VpcManagerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,7 @@ public void unassignIPFromVpcNetwork(long ipId, long networkId) {
20002000
boolean success = false;
20012001
try {
20022002
//unassign ip from the VPC router
2003-
success = _ntwkMgr.applyIpAssociations(_ntwkModel.getNetwork(networkId), true);
2003+
success = _ntwkMgr.applyIpAssociations(_ntwkModel.getNetwork(networkId), true, false);
20042004
} catch (ResourceUnavailableException ex) {
20052005
throw new CloudRuntimeException("Failed to apply ip associations for network id=" + networkId +
20062006
" as a part of unassigning ip " + ipId + " from vpc", ex);

0 commit comments

Comments
 (0)