summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/constraint.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntpd/constraint.c')
-rw-r--r--usr.sbin/ntpd/constraint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/constraint.c b/usr.sbin/ntpd/constraint.c
index 4241b70cc83..b994c02cf6b 100644
--- a/usr.sbin/ntpd/constraint.c
+++ b/usr.sbin/ntpd/constraint.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: constraint.c,v 1.57 2024/11/21 13:17:02 claudio Exp $ */
+/* $OpenBSD: constraint.c,v 1.58 2024/11/21 13:17:57 claudio Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -581,7 +581,7 @@ constraint_remove(struct constraint *cstr)
{
TAILQ_REMOVE(&conf->constraints, cstr, entry);
- msgbuf_clear(&cstr->ibuf.w);
+ imsgbuf_clear(&cstr->ibuf);
if (cstr->fd != -1)
close(cstr->fd);
free(cstr->addr_head.name);