Skip to content

Commit

Permalink
Update python-avd/pyavd/_eos_designs/structured_config/underlay/prefi…
Browse files Browse the repository at this point in the history
…x_lists.py

Co-authored-by: laxmikantchintakindi <[email protected]>
  • Loading branch information
Vibhu-gslab and laxmikantchintakindi authored Feb 28, 2025
1 parent db143c3 commit 50b7f01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PrefixListsMixin(Protocol):
@structured_config_contributor
def prefix_lists(self: AvdStructuredConfigUnderlayProtocol) -> None:
"""Set the structured config for prefix_lists."""
if not self.shared_utils.is_wan_router and (self.shared_utils.underlay_bgp is not True or self.shared_utils.overlay_routing_protocol == "none"):
if not self.shared_utils.is_wan_router and (not self.shared_utils.underlay_bgp or self.shared_utils.overlay_routing_protocol == "none"):
return

if not self.inputs.underlay_filter_redistribute_connected:
Expand Down

0 comments on commit 50b7f01

Please sign in to comment.