From 72898b10e9954cd424e72cbd3cedfb0da9092219 Mon Sep 17 00:00:00 2001 From: ume Date: Sat, 25 Oct 2003 06:51:23 +0000 Subject: according to RFC3542 10.5, the 5th argment of inet6_opt_next() is not size_t but socklen_t. Reported by: tinderbox --- lib/libc/net/ip6opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libc/net/ip6opt.c b/lib/libc/net/ip6opt.c index 2f54918..d0122e2 100644 --- a/lib/libc/net/ip6opt.c +++ b/lib/libc/net/ip6opt.c @@ -512,7 +512,7 @@ inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) int inet6_opt_next(void *extbuf, socklen_t extlen, int offset, u_int8_t *typep, - size_t *lenp, void **databufp) + socklen_t *lenp, void **databufp) { u_int8_t *optp, *lim; int optlen; -- cgit v1.1