Skip to content

Commit

Permalink
Fix constant casing for prefix-list mode
Browse files Browse the repository at this point in the history
This change makes the template match PREFIX_SET and the documentation.

Fixes sonic-net#6943.

Signed-off-by: Christian Svensson <[email protected]>
  • Loading branch information
bluecmd authored Aug 12, 2021
1 parent 141dcbf commit dd68d2a
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 @@ route-map {{rm_key[0]}} {{rm_val['route_operation']}} {{rm_key[1]}}
match source-vrf {{rm_val['match_src_vrf']}}
{% endif %}
{# ---------------match ip/ipv6-Start-------------------------- #}
{% set ip_str = {'ipv4':'ip', 'ipv6':'ipv6' } %}
{% set ip_str = {'IPv4':'ip', 'IPv6':'ipv6' } %}
{% if PREFIX_SET is defined and PREFIX_SET|length > 0 %}
{% if 'match_prefix_set' in rm_val %}
{% for pfx_key, pfx_val in PREFIX_SET.items() %}
Expand Down

0 comments on commit dd68d2a

Please sign in to comment.