Skip to content

Commit 2398b5c

Browse files
server: apply network ACL even if there is no network ACLs in the ACL list (#9374)
1 parent 00bb9ec commit 2398b5c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/src/main/java/org/apache/cloudstack/network/topology/AdvancedNetworkTopology.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,6 @@ public boolean associatePublicIP(final Network network, final List<? extends Pub
228228
public boolean applyNetworkACLs(final Network network, final List<? extends NetworkACLItem> rules, final VirtualRouter router, final boolean isPrivateGateway)
229229
throws ResourceUnavailableException {
230230

231-
if (rules == null || rules.isEmpty()) {
232-
s_logger.debug("No network ACLs to be applied for network " + network.getId());
233-
return true;
234-
}
235-
236231
s_logger.debug("APPLYING NETWORK ACLs RULES");
237232

238233
final String typeString = "network acls";

0 commit comments

Comments
 (0)