mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 22:37:49 +00:00
BGP: Register with correct VRF id for redistribution
When doing a redistribution re-registration upon route-map updates, the correct VRF id was not being used. Fixed. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Ticket: CM-10311 Reviewed By: Trivial Testing Done: Manual - verified failed scenario
This commit is contained in:
parent
5c81a5f382
commit
9585bba764
@ -1859,9 +1859,9 @@ bgp_redistribute_resend (struct bgp *bgp, afi_t afi, int type, u_short instance)
|
||||
|
||||
/* Send distribute add message to zebra. */
|
||||
zebra_redistribute_send (ZEBRA_REDISTRIBUTE_DELETE, zclient, afi, type,
|
||||
instance, VRF_DEFAULT);
|
||||
instance, bgp->vrf_id);
|
||||
zebra_redistribute_send (ZEBRA_REDISTRIBUTE_ADD, zclient, afi, type,
|
||||
instance, VRF_DEFAULT);
|
||||
instance, bgp->vrf_id);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user