From e23b9ef6d271223d29c7f91a10d98aa6dcd252b3 Mon Sep 17 00:00:00 2001 From: Anton Degtyarev Date: Mon, 12 Nov 2018 06:08:17 +0300 Subject: [PATCH] bgpd: fix bgp path info for mplsvpn leaked routes so that they are correctly seen (and checked) by the rnh module in Zebra --- 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 d4204126e170..6668823d64fb 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(ZEBRA_ROUTE_BGP, BGP_ROUTE_IMPORTED, 0, + new = info_make(bpi_ultimate->type, bpi_ultimate->sub_type, 0, bgp->peer_self, new_attr, bn); if (nexthop_self_flag)