From dcaba9ca93f949af927c35298b13ad27f0daa2a3 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 12 Dec 2023 15:29:49 -0500 Subject: [PATCH] bgpd: When receiving a label, store it Signed-off-by: Donald Sharp --- bgpd/bgp_evpn_mh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_evpn_mh.c b/bgpd/bgp_evpn_mh.c index c7d8551b5e2b..5b7c214a54c1 100644 --- a/bgpd/bgp_evpn_mh.c +++ b/bgpd/bgp_evpn_mh.c @@ -1224,11 +1224,11 @@ int bgp_evpn_type1_route_process(struct peer *peer, afi_t afi, safi_t safi, /* Process the route. */ if (attr) { bgp_update(peer, (struct prefix *)&p, addpath_id, attr, afi, - safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, NULL, + safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, &label, 0, 0, NULL); } else { bgp_withdraw(peer, (struct prefix *)&p, addpath_id, afi, safi, - ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, NULL, 0, + ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, &label, 0, NULL); } return 0;