]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix peer determination from parent for imported routes
authorvivek <vivek@cumulusnetworks.com>
Thu, 29 Mar 2018 05:11:30 +0000 (22:11 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 25 Apr 2018 16:39:16 +0000 (12:39 -0400)
commit1ec90b5ede849763a21ba6c180e39657305a0d0c
tree08f6631dfa65a7c5847675ea74d9e719007aee91
parent53089bec654b40b93ddd5dc990a73bedad819acb
bgpd: Fix peer determination from parent for imported routes

When routes are imported into a VRF from the global VPN table, the
parent instance is either the default instance in the case of L3VPN or
the source VRF in the case of VRF-to-VRF route leaking. Hence, obtain
the source peer by just looking at the parent route information.

Ticket: CM-20283
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
bgpd/bgp_zebra.c