summaryrefslogtreecommitdiff
path: root/sbin/slaacd/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/slaacd/control.c')
-rw-r--r--sbin/slaacd/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/slaacd/control.c b/sbin/slaacd/control.c
index 6fbb2822350..113af0a8e68 100644
--- a/sbin/slaacd/control.c
+++ b/sbin/slaacd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.14 2024/11/21 13:17:01 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.15 2024/11/21 13:17:56 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -203,7 +203,7 @@ control_close(int fd)
return;
}
- msgbuf_clear(&c->iev.ibuf.w);
+ imsgbuf_clear(&c->iev.ibuf);
TAILQ_REMOVE(&ctl_conns, c, entry);
event_del(&c->iev.ev);