]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_mplsvpn.c
Merge pull request #3394 from karamalla0406/frr3360
[mirror_frr.git] / bgpd / bgp_mplsvpn.c
index d4204126e170476fa90d9ad1f6a2c4f932815e70..6668823d64fb48bc904674ce4d1103c04f3654ff 100644 (file)
@@ -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)