Skip to content

Commit

Permalink
Merge pull request #15046 from FRRouting/revert-15002-bgp_evpn_label_…
Browse files Browse the repository at this point in the history
…no_delete

Revert "bgpd: When receiving a label, store it"
  • Loading branch information
riw777 authored Dec 19, 2023
2 parents a3388fa + d1b3f07 commit b6cb72f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bgpd/bgp_evpn_mh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, &label,
safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, NULL,
0, 0, NULL);
} else {
bgp_withdraw(peer, (struct prefix *)&p, addpath_id, afi, safi,
ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, &label, 0,
ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, NULL, 0,
NULL);
}
return 0;
Expand Down

0 comments on commit b6cb72f

Please sign in to comment.