summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-11-30 20:35:25 +0100
committerLou Berger <lberger@labn.net>2018-11-30 20:35:25 +0100
commit9d94d5e81269d0f526a82f3405411dec2b52eeb5 (patch)
treea7adc9c2b15108dad62745b6fc7c8682d6699e7c /bgpd
parentzebra: handle neighbor delete from kernel for ipv4 link-local (diff)
downloadfrr-9d94d5e81269d0f526a82f3405411dec2b52eeb5.tar.xz
frr-9d94d5e81269d0f526a82f3405411dec2b52eeb5.zip
bgpd: partially revert e23b9ef6d271223d29c7f91a10d98aa6dcd252b3
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>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_mplsvpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c
index 6668823d6..baf2c1e02 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(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)