]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_mplsvpn.c
Merge pull request #3093 from donaldsharp/bgp_node_continued
[mirror_frr.git] / bgpd / bgp_mplsvpn.c
index c763d9fc726943294ff5274a22d25930754a20cd..cf91faf964a9b93eda47effb2b57374a8913ae3d 100644 (file)
@@ -578,7 +578,7 @@ leak_update(struct bgp *bgp, /* destination bgp instance */
                return bpi;
        }
 
-       new = info_make(bpi_ultimate->type, bpi_ultimate->sub_type, 0,
+       new = info_make(ZEBRA_ROUTE_BGP, BGP_ROUTE_IMPORTED, 0,
                bgp->peer_self, new_attr, bn);
 
        if (nexthop_self_flag)