summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldpe.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-06-18 17:31:33 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-06-18 17:31:33 +0000
commita9f28d78e1e7c95f663dd4bf3fea651eecb48098 (patch)
treead6863b73262d751feccd1376198cdede5b8889f /usr.sbin/ldpd/ldpe.c
parent9bd1599b3b41e7a556919282bec4e8dd2ff56b51 (diff)
Fix removal of dual-stack neighbors.
Diffstat (limited to 'usr.sbin/ldpd/ldpe.c')
-rw-r--r--usr.sbin/ldpd/ldpe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/ldpe.c b/usr.sbin/ldpd/ldpe.c
index 51fe0b9b864..f110b9d7c0f 100644
--- a/usr.sbin/ldpd/ldpe.c
+++ b/usr.sbin/ldpd/ldpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpe.c,v 1.66 2016/06/13 23:01:37 renato Exp $ */
+/* $OpenBSD: ldpe.c,v 1.67 2016/06/18 17:31:32 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -179,7 +179,7 @@ ldpe_shutdown(void)
free(if_addr);
}
while ((adj = LIST_FIRST(&global.adj_list)) != NULL)
- adj_del(adj, 1, S_SHUTDOWN);
+ adj_del(adj, S_SHUTDOWN);
/* clean up */
msgbuf_write(&iev_lde->ibuf.w);