Skip to content

Commit 4378548

Browse files
committed
fix
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent e1b738b commit 4378548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/server/ManagementServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2553,7 +2553,7 @@ public Pair<List<? extends IpAddress>, Integer> searchForIPAddresses(final ListP
25532553
final List<Long> permittedAccounts = new ArrayList<>();
25542554
ListProjectResourcesCriteria listProjectResourcesCriteria = null;
25552555
Boolean isAllocatedOrReserved = false;
2556-
if (isAllocated || states.contains(IpAddress.State.Allocated)) {
2556+
if (isAllocated || states.contains(IpAddress.State.Reserved)) {
25572557
isAllocatedOrReserved = true;
25582558
}
25592559
if (isAllocatedOrReserved || (vlanType == VlanType.VirtualNetwork && (caller.getType() != Account.Type.ADMIN || cmd.getDomainId() != null))) {

0 commit comments

Comments
 (0)