diff options
author | ume <ume@FreeBSD.org> | 2003-10-25 06:51:23 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-25 06:51:23 +0000 |
commit | 72898b10e9954cd424e72cbd3cedfb0da9092219 (patch) | |
tree | 881de9d4fc928a81d5e0238a4384bbc0179c35bd | |
parent | e444c5c4e4a44aa8bccb53a64658f58f0f5d6e35 (diff) | |
download | FreeBSD-src-72898b10e9954cd424e72cbd3cedfb0da9092219.zip FreeBSD-src-72898b10e9954cd424e72cbd3cedfb0da9092219.tar.gz |
according to RFC3542 10.5, the 5th argment of inet6_opt_next()
is not size_t but socklen_t.
Reported by: tinderbox
-rw-r--r-- | lib/libc/net/ip6opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |