summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_evpn.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-02-21 10:35:59 +0100
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-02-21 10:35:59 +0100
commitbf0c6163831b34343b80fb4b176dd0a721b9e420 (patch)
tree77129dd661f9d5c69986f30b8b9f0d4c7c9bd6d3 /bgpd/bgp_evpn.c
parentMerge pull request #12849 from opensourcerouting/fix/tests_enum (diff)
downloadfrr-bf0c6163831b34343b80fb4b176dd0a721b9e420.tar.xz
frr-bf0c6163831b34343b80fb4b176dd0a721b9e420.zip
bgpd: Drop struct attr from bgp_withdraw()
It's not used at all. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_evpn.c')
-rw-r--r--bgpd/bgp_evpn.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/bgpd/bgp_evpn.c b/bgpd/bgp_evpn.c
index 4758cd98e..a68bb7b2e 100644
--- a/bgpd/bgp_evpn.c
+++ b/bgpd/bgp_evpn.c
@@ -4517,9 +4517,9 @@ static int process_type2_route(struct peer *peer, afi_t afi, safi_t safi,
safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd,
&label[0], num_labels, 0, &evpn);
else
- bgp_withdraw(peer, (struct prefix *)&p, addpath_id, attr, afi,
- safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd,
- &label[0], num_labels, &evpn);
+ bgp_withdraw(peer, (struct prefix *)&p, addpath_id, afi, safi,
+ ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, &label[0],
+ num_labels, &evpn);
goto done;
fail:
@@ -4608,9 +4608,9 @@ static int process_type3_route(struct peer *peer, afi_t afi, safi_t safi,
safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, NULL,
0, 0, NULL);
else
- bgp_withdraw(peer, (struct prefix *)&p, addpath_id, attr, afi,
- safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd,
- NULL, 0, NULL);
+ bgp_withdraw(peer, (struct prefix *)&p, addpath_id, afi, safi,
+ ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, NULL, 0,
+ NULL);
return 0;
}
@@ -4751,9 +4751,9 @@ static int process_type5_route(struct peer *peer, afi_t afi, safi_t safi,
peer->hostname, peer->bgp->vrf_id, &p,
attr_str);
}
- bgp_withdraw(peer, (struct prefix *)&p, addpath_id, attr, afi,
- safi, ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd,
- &label, 1, &evpn);
+ bgp_withdraw(peer, (struct prefix *)&p, addpath_id, afi, safi,
+ ZEBRA_ROUTE_BGP, BGP_ROUTE_NORMAL, &prd, &label, 1,
+ &evpn);
}
return 0;