1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

When protocols go down, prune the neighbor list.

This commit is contained in:
Martin Mares
1999-02-13 20:55:08 +00:00
parent 013a9b91fe
commit 783f8b689a
3 changed files with 26 additions and 1 deletions

View File

@ -330,6 +330,7 @@ proto_flush_all(void *unused)
struct proto *p;
rt_prune(&master_table);
neigh_prune();
while ((p = HEAD(flush_proto_list))->n.next)
{
DBG("Flushing protocol %s\n", p->name);