mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
server: apply network ACL even if there is no network ACLs in the ACL list (#9374)
This commit is contained in:
parent
00bb9ecc0b
commit
2398b5c8c9
@ -228,11 +228,6 @@ public class AdvancedNetworkTopology extends BasicNetworkTopology {
|
||||
public boolean applyNetworkACLs(final Network network, final List<? extends NetworkACLItem> rules, final VirtualRouter router, final boolean isPrivateGateway)
|
||||
throws ResourceUnavailableException {
|
||||
|
||||
if (rules == null || rules.isEmpty()) {
|
||||
s_logger.debug("No network ACLs to be applied for network " + network.getId());
|
||||
return true;
|
||||
}
|
||||
|
||||
s_logger.debug("APPLYING NETWORK ACLs RULES");
|
||||
|
||||
final String typeString = "network acls";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user