mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 18:48:14 +00:00
Merge pull request #10803 from anlancs/bgpd-remove-dead-l2vpn
bgpd: remove dead code
This commit is contained in:
commit
5d056cbf25
@ -3506,20 +3506,6 @@ void bgp_evpn_import_type2_route(struct bgp_path_info *pi, int import)
|
||||
&pi->net->p, pi, import);
|
||||
}
|
||||
|
||||
/* Import the pi into vrf routing tables */
|
||||
void bgp_evpn_import_route_in_vrfs(struct bgp_path_info *pi, int import)
|
||||
{
|
||||
struct bgp *bgp_evpn;
|
||||
|
||||
bgp_evpn = bgp_get_evpn();
|
||||
if (!bgp_evpn)
|
||||
return;
|
||||
|
||||
bgp_evpn_install_uninstall_table(bgp_evpn, AFI_L2VPN, SAFI_EVPN,
|
||||
&pi->net->p, pi, import, false /*vpn*/,
|
||||
true /*vrf*/);
|
||||
}
|
||||
|
||||
/*
|
||||
* delete and withdraw all ipv4 and ipv6 routes in the vrf table as type-5
|
||||
* routes
|
||||
|
@ -647,7 +647,6 @@ extern struct bgp_dest *
|
||||
bgp_global_evpn_node_lookup(struct bgp_table *table, afi_t afi, safi_t safi,
|
||||
const struct prefix_evpn *evp,
|
||||
struct prefix_rd *prd);
|
||||
extern void bgp_evpn_import_route_in_vrfs(struct bgp_path_info *pi, int import);
|
||||
extern void bgp_evpn_update_type2_route_entry(struct bgp *bgp,
|
||||
struct bgpevpn *vpn,
|
||||
struct bgp_node *rn,
|
||||
|
Loading…
Reference in New Issue
Block a user