summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-13 20:55:08 +0000
committerMartin Mares <mj@ucw.cz>1999-02-13 20:55:08 +0000
commit783f8b689a29aaffbe75e964fdd09a3c219ea81c (patch)
tree556bb1e5180d85a1ce97316239e3f75a6971593c /nest/proto.c
parent013a9b91fe495371cbf9a5690613de45b634e3af (diff)
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 f96d37dc..21f36307 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);