summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-05-30 05:58:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-05-30 05:58:21 +0000
commitfd998df73c0f8bf83f984240612b494135a5e85e (patch)
tree6cfd92b32fd2d1841557c8f6b2e2a24ada26baa5 /usr.sbin
parent437b26898ea1698e78b5314d57c6d67a363e88d7 (diff)
correct size of iov[]; ralf.horstmann@gmx.de
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dhcpd/sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/sync.c b/usr.sbin/dhcpd/sync.c
index a5a95fbc0ec..a9276813857 100644
--- a/usr.sbin/dhcpd/sync.c
+++ b/usr.sbin/dhcpd/sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sync.c,v 1.5 2008/05/11 08:50:54 beck Exp $ */
+/* $OpenBSD: sync.c,v 1.6 2008/05/30 05:58:20 deraadt Exp $ */
/*
* Copyright (c) 2008 Bob Beck <beck@openbsd.org>
@@ -407,7 +407,7 @@ sync_send(struct iovec *iov, int iovlen)
void
sync_lease(struct lease *lease)
{
- struct iovec iov[3];
+ struct iovec iov[4];
struct dhcp_synchdr hdr;
struct dhcp_synctlv_lease ld;
struct dhcp_synctlv_hdr end;