summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-07 15:55:06 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-12-07 15:55:06 -0500
commitbe180f9736544aac313d19398b8cfda0c78c9e14 (patch)
tree06aa0a892c4d3e3ac375f56e8935720999ad01d1 /bgpd
parentac92680d8ddba0ab3ddf3099b22b75cc81e50ffa (diff)
bgpd: Back out rest of e23b9ef6d2
Fully revert the rest of the e23b9ef6d2 commit as that it was breaking route leaking between vrf's. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_mplsvpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c
index baf2c1e029..d4204126e1 100644
--- a/bgpd/bgp_mplsvpn.c
+++ b/bgpd/bgp_mplsvpn.c
@@ -578,7 +578,7 @@ leak_update(struct bgp *bgp, /* destination bgp instance */
return bpi;
}
- new = info_make(bpi_ultimate->type, BGP_ROUTE_IMPORTED, 0,
+ new = info_make(ZEBRA_ROUTE_BGP, BGP_ROUTE_IMPORTED, 0,
bgp->peer_self, new_attr, bn);
if (nexthop_self_flag)