summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/neighbor.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ripd/neighbor.c')
-rw-r--r--usr.sbin/ripd/neighbor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ripd/neighbor.c b/usr.sbin/ripd/neighbor.c
index d35cd1d6055..f583243c12f 100644
--- a/usr.sbin/ripd/neighbor.c
+++ b/usr.sbin/ripd/neighbor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: neighbor.c,v 1.3 2006/11/01 20:55:40 claudio Exp $ */
+/* $OpenBSD: neighbor.c,v 1.4 2006/11/10 10:28:18 michele Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -226,7 +226,8 @@ nbr_act_del(struct nbr *nbr)
nbr_stop_timer(nbr);
/* clear lists */
- //response_list_clr(&nbr->rr_list);
+ clear_list(&nbr->rq_list);
+ clear_list(&nbr->rp_list);
LIST_REMOVE(nbr, entry);
LIST_REMOVE(nbr, hash);