forked from Mirror/frr
Revert "bgpd: When receiving a label, store it"
This commit is contained in:
parent
a3388fa6b1
commit
d1b3f070b1
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue