Skip to content

Commit c8d607e

Browse files
JayapalUradiAbhinandan Prateek
authored andcommitted
CLOUDSTACK-2650 setting vm ip null in user_ip_address when static nat ip
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
1 parent c1ad3b7 commit c8d607e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎engine/schema/src/com/cloud/network/dao/IPAddressDaoImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ public void unassignIpAddress(long ipAddressId) {
155155
address.setAssociatedWithNetworkId(null);
156156
address.setVpcId(null);
157157
address.setSystem(false);
158+
address.setVmIp(null);
158159
update(ipAddressId, address);
159160
}
160161

0 commit comments

Comments
 (0)