[frr] [PATCH 05/11] bgpd: Notify about withdrawal of routes when vrf is deleted
Philippe Guibert
philippe.guibert at 6wind.com
Wed Dec 21 09:13:50 EST 2016
When a vrf is suppressed, all its subsequent route entries are removed.
This commit permits notifying the information to remote.
Signed-off-by: Philippe Guibert <philippe.guibert at 6wind.com>
---
bgpd/bgp_route.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index f9454d371ff1..e93829cdb6b3 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -10838,6 +10838,7 @@ void bgp_vrf_clean_tables (struct bgp_vrf *vrf)
for (ri = rn->info; ri; ri = ri_next)
{
ri_next = ri->next;
+ bgp_vrf_update (vrf, afi, rn, ri, false);
bgp_info_reap (rn, ri);
}
bgp_table_finish (&vrf->rib[afi]);
--
2.1.4
More information about the dev
mailing list