summaryrefslogtreecommitdiffstats
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-13 21:55:08 +0100
committerMartin Mares <mj@ucw.cz>1999-02-13 21:55:08 +0100
commit783f8b689a29aaffbe75e964fdd09a3c219ea81c (patch)
tree556bb1e5180d85a1ce97316239e3f75a6971593c /nest/proto.c
parent013a9b91fe495371cbf9a5690613de45b634e3af (diff)
downloadbird-783f8b689a29aaffbe75e964fdd09a3c219ea81c.tar
bird-783f8b689a29aaffbe75e964fdd09a3c219ea81c.zip
When protocols go down, prune the neighbor list.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index f96d37d..21f3630 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -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);