summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-07 23:01:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-07 23:01:08 +0000
commit1aa00043cb41ce1d6167260e78abb70ef9fd67c4 (patch)
treec9034eb695c9ee73576e885c6951ca6e6a91acdf /libexec
parent9e1f7d12bf23ba7ebbb2631adb00597172083846 (diff)
wrong size of address; harding@motd.ca
Diffstat (limited to 'libexec')
-rw-r--r--libexec/tcpd/tcpdchk/scaffold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/tcpd/tcpdchk/scaffold.c b/libexec/tcpd/tcpdchk/scaffold.c
index 8ce6f7257e7..46a4797e1e4 100644
--- a/libexec/tcpd/tcpdchk/scaffold.c
+++ b/libexec/tcpd/tcpdchk/scaffold.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scaffold.c,v 1.4 2000/10/14 00:56:14 itojun Exp $ */
+/* $OpenBSD: scaffold.c,v 1.5 2002/05/07 23:01:07 deraadt Exp $ */
/*
* Routines for testing only. Not really industrial strength.
@@ -10,7 +10,7 @@
#if 0
static char sccs_id[] = "@(#) scaffold.c 1.5 95/01/03 09:13:48";
#else
-static char rcsid[] = "$OpenBSD: scaffold.c,v 1.4 2000/10/14 00:56:14 itojun Exp $";
+static char rcsid[] = "$OpenBSD: scaffold.c,v 1.5 2002/05/07 23:01:07 deraadt Exp $";
#endif
#endif
@@ -180,7 +180,7 @@ char *host;
switch (hp->h_addrtype) {
case AF_INET:
ap = (char *)&((struct sockaddr_in *)&sin)->sin_addr;
- alen = sizeof(struct in6_addr);
+ alen = sizeof(struct in_addr);
break;
#ifdef INET6
case AF_INET6: