diff options
author | Francois Dumontet <francois.dumontet@6wind.com> | 2023-06-09 14:30:33 +0200 |
---|---|---|
committer | Francois Dumontet <francois.dumontet@6wind.com> | 2023-06-26 14:27:27 +0200 |
commit | 442e2edcfaefa004bc3dff62dc35b03abd34ee71 (patch) | |
tree | 2c397083179cc887d8bf9b96f059a43d02873e4f /bgpd/bgp_zebra.c | |
parent | tests: add bgp colored extended community test (diff) | |
download | frr-442e2edcfaefa004bc3dff62dc35b03abd34ee71.tar.xz frr-442e2edcfaefa004bc3dff62dc35b03abd34ee71.zip |
bgpd: add functions related to srte_color management
Signed-off-by: Francois Dumontet <francois.dumontet@6wind.com>
Diffstat (limited to 'bgpd/bgp_zebra.c')
-rw-r--r-- | bgpd/bgp_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 1965cd270..7e773b6cd 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -1440,7 +1440,7 @@ void bgp_zebra_announce(struct bgp_dest *dest, const struct prefix *p, if (CHECK_FLAG(info->attr->flag, ATTR_FLAG_BIT(BGP_ATTR_SRTE_COLOR))) - api_nh->srte_color = info->attr->srte_color; + api_nh->srte_color = bgp_attr_get_color(info->attr); if (bgp_debug_zebra(&api.prefix)) { if (mpinfo->extra) { |