From: Anton Degtyarev Date: Mon, 12 Nov 2018 03:08:17 +0000 (+0300) Subject: bgpd: fix bgp path info for mplsvpn leaked routes so that they are correctly seen... X-Git-Tag: frr-7.1-dev~195^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e23b9ef6d2;p=mirror%2Ffrr.git bgpd: fix bgp path info for mplsvpn leaked routes so that they are correctly seen (and checked) by the rnh module in Zebra --- diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c index d4204126e1..6668823d64 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)