Skip to content

Commit

Permalink
fix(policy): runtime dispatch update if *-zone=ANY
Browse files Browse the repository at this point in the history
  • Loading branch information
erig0 committed Nov 22, 2023
1 parent b750739 commit 133398d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/firewall/core/fw_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ def _interface_or_source_update_policies(
egressInterface=interface,
egressSource=source,
)
elif zone in ingress_zone_list:
elif zone in ingress_zone_list or "ANY" in ingress_zone_list:
self._fw.policy._ingress_zone(
enable,
policy,
Expand All @@ -981,7 +981,7 @@ def _interface_or_source_update_policies(
ingressInterface=interface,
ingressSource=source,
)
elif zone in egress_zone_list:
elif zone in egress_zone_list or "ANY" in egress_zone_list:
self._fw.policy._egress_zone(
enable,
policy,
Expand Down

0 comments on commit 133398d

Please sign in to comment.