diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-14 00:56:17 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-14 00:56:17 +0000 |
commit | f6091bbe12538b3e722800dcd3e43cf014dc17e6 (patch) | |
tree | 0061ec9397b880b94546484b17273eac081d654d /lib/libwrap/update.c | |
parent | ea55ada60b971559c0cd36421576ee1f0502d9a3 (diff) |
tcp wrapper support for IPv6. from netbsd.
TODO: scoped address support may need more consideration (we are taking
safer side now - rejects too much).
Diffstat (limited to 'lib/libwrap/update.c')
-rw-r--r-- | lib/libwrap/update.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libwrap/update.c b/lib/libwrap/update.c index d8eca07d3e0..0cee40df295 100644 --- a/lib/libwrap/update.c +++ b/lib/libwrap/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.1 1997/02/26 03:06:59 downsj Exp $ */ +/* $OpenBSD: update.c,v 1.2 2000/10/14 00:56:16 itojun Exp $ */ /* * Routines for controlled update/initialization of request structures. @@ -19,7 +19,7 @@ #if 0 static char sccsid[] = "@(#) update.c 1.1 94/12/28 17:42:56"; #else -static char rcsid[] = "$OpenBSD: update.c,v 1.1 1997/02/26 03:06:59 downsj Exp $"; +static char rcsid[] = "$OpenBSD: update.c,v 1.2 2000/10/14 00:56:16 itojun Exp $"; #endif #endif @@ -53,10 +53,10 @@ va_list ap; request->fd = va_arg(ap, int); continue; case RQ_CLIENT_SIN: - request->client->sin = va_arg(ap, struct sockaddr_in *); + request->client->sin = va_arg(ap, struct sockaddr *); continue; case RQ_SERVER_SIN: - request->server->sin = va_arg(ap, struct sockaddr_in *); + request->server->sin = va_arg(ap, struct sockaddr *); continue; /* |