From be180f9736544aac313d19398b8cfda0c78c9e14 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 7 Dec 2018 15:55:06 -0500 Subject: [PATCH] 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 --- bgpd/bgp_mplsvpn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)