diff options
Diffstat (limited to 'lib/libwrap/fix_options.c')
-rw-r--r-- | lib/libwrap/fix_options.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libwrap/fix_options.c b/lib/libwrap/fix_options.c index 4dfc630d657..b1aec1a6301 100644 --- a/lib/libwrap/fix_options.c +++ b/lib/libwrap/fix_options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fix_options.c,v 1.6 2003/04/19 18:31:48 avsm Exp $ */ +/* $OpenBSD: fix_options.c,v 1.7 2006/04/14 18:27:49 dhill Exp $ */ /* * Routine to disable IP-level socket options. This code was taken from 4.4BSD @@ -11,7 +11,7 @@ #if 0 static char sccsid[] = "@(#) fix_options.c 1.4 97/02/12 02:13:22"; #else -static char rcsid[] = "$OpenBSD: fix_options.c,v 1.6 2003/04/19 18:31:48 avsm Exp $"; +static char rcsid[] = "$OpenBSD: fix_options.c,v 1.7 2006/04/14 18:27:49 dhill Exp $"; #endif #endif @@ -44,13 +44,14 @@ struct request_info *request; #ifdef IP_OPTIONS struct ipoption optbuf; char lbuf[BUFFER_SIZE], *lp, *cp; - int optsize = sizeof(optbuf), ipproto; + int ipproto; + socklen_t optsize = sizeof(optbuf); size_t lps; struct protoent *ip; int fd = request->fd; int i; struct sockaddr_storage ss; - int sslen; + socklen_t sslen; /* * check if this is AF_INET socket |