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
/* 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;
}