diff --git a/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.route_map.j2 b/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.route_map.j2 index 29a4817dc2..5c9e44f1d9 100644 --- a/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.route_map.j2 +++ b/src/sonic-frr-mgmt-framework/templates/bgpd/bgpd.conf.db.route_map.j2 @@ -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() %}