mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 21:50:39 +00:00
Merge pull request #3978 from chiragshah6/evpn_dev2
bgpd: l3vni add-del handle non-defualt rd
This commit is contained in:
commit
d31fd899e6
@ -5081,6 +5081,9 @@ void bgp_evpn_derive_auto_rt_export(struct bgp *bgp, struct bgpevpn *vpn)
|
|||||||
*/
|
*/
|
||||||
void bgp_evpn_derive_auto_rd_for_vrf(struct bgp *bgp)
|
void bgp_evpn_derive_auto_rd_for_vrf(struct bgp *bgp)
|
||||||
{
|
{
|
||||||
|
if (is_vrf_rd_configured(bgp))
|
||||||
|
return;
|
||||||
|
|
||||||
form_auto_rd(bgp->router_id, bgp->vrf_rd_id, &bgp->vrf_prd);
|
form_auto_rd(bgp->router_id, bgp->vrf_rd_id, &bgp->vrf_prd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user