]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: partially revert e23b9ef6d271223d29c7f91a10d98aa6dcd252b3
authorLou Berger <lberger@labn.net>
Fri, 30 Nov 2018 19:35:25 +0000 (19:35 +0000)
committerLou Berger <lberger@labn.net>
Fri, 30 Nov 2018 19:35:25 +0000 (19:35 +0000)
      previous change was to fix rnh module in Zebra for leaked routes
      this reverts that fix, so probably reintroduces the problem.

Signed-off-by: Lou Berger <lberger@labn.net>
bgpd/bgp_mplsvpn.c

index 6668823d64fb48bc904674ce4d1103c04f3654ff..baf2c1e0292d86f130c9a7274abf64475bc2a797 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(bpi_ultimate->type, BGP_ROUTE_IMPORTED, 0,
                bgp->peer_self, new_attr, bn);
 
        if (nexthop_self_flag)