Skip to content

Commit

Permalink
[frrcfgd]: Fix constant casing for prefix-list mode (#8454)
Browse files Browse the repository at this point in the history
Fix #6943

This change makes the template match PREFIX_SET and the documentation.

Signed-off-by: Christian Svensson <blue@cmd.nu>
  • Loading branch information
bluecmd authored Aug 13, 2021
1 parent 80e0627 commit e42f93b
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 e42f93b

Please sign in to comment.