diff options
author | 2008-05-30 05:58:20 +0000 | |
---|---|---|
committer | 2008-05-30 05:58:20 +0000 | |
commit | ed4ccfd679e14b6740f24dfb0f0d7590c64b9c03 (patch) | |
tree | 5fa0eec02af0cc29e7d66c0ac481ad204547fa74 | |
parent | some KNF. (diff) | |
download | wireguard-openbsd-ed4ccfd679e14b6740f24dfb0f0d7590c64b9c03.tar.xz wireguard-openbsd-ed4ccfd679e14b6740f24dfb0f0d7590c64b9c03.zip |
correct size of iov[]; ralf.horstmann@gmx.de
-rw-r--r-- | usr.sbin/dhcpd/sync.c | 4 |
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; |