diff --git a/src/sonic-host-services/scripts/caclmgrd b/src/sonic-host-services/scripts/caclmgrd index 77bcd2e4ee7a..569036a6d8ac 100755 --- a/src/sonic-host-services/scripts/caclmgrd +++ b/src/sonic-host-services/scripts/caclmgrd @@ -288,6 +288,8 @@ class ControlPlaneAclManager(daemon_base.DaemonBase): for acl_service in self.ACL_SERVICES: if self.ACL_SERVICES[acl_service]["multi_asic_ns_to_host_fwd"]: # Get the Source IP Set if exists else use default source ip prefix + if acl_source_ip_map and acl_service not in acl_source_ip_map: + continue nat_source_ipv4_set = acl_source_ip_map[acl_service]["ipv4"] if acl_source_ip_map and acl_source_ip_map[acl_service]["ipv4"] else { "0.0.0.0/0" } nat_source_ipv6_set = acl_source_ip_map[acl_service]["ipv6"] if acl_source_ip_map and acl_source_ip_map[acl_service]["ipv6"] else { "::/0" }