]> git.puffer.fish Git - matthieu/frr.git/commit
BGP: Fix source route type in redistributed route
authorvivek <vivek@cumulusnetworks.com>
Mon, 28 Sep 2015 19:27:17 +0000 (12:27 -0700)
committervivek <vivek@cumulusnetworks.com>
Mon, 28 Sep 2015 19:27:17 +0000 (12:27 -0700)
commit1844fdbd7f3ad9e2a56652331f3833a7c44e69c4
tree63efd387f93231b80c4aa88a0381386a9bf62f85
parent7dfe5b94992910354ceb76210991ac18734f76a6
BGP: Fix source route type in redistributed route

Ticket: CM-7593
Reviewed By: CCR-3563
Testing Done: Manual verification of failed scenario (2.5-br)

When BGP receives an update to a redistributed route and the type of
the source has changed (e.g., from OSPF to static), the source route
type is not being updated in the RIB entry. This can lead to problems
such as the route being incorrectly deleted if redistribution for the
prior source is unconfigured.

Fix the code to update the source route type.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Vipin Kumar <vipin@cumulusnetworks.com>
bgpd/bgp_route.c