according to RFC3542 10.5, the 5th argment of inet6_opt_next()

is not size_t but socklen_t.

Reported by:	tinderbox
This commit is contained in:
Hajimu UMEMOTO 2003-10-25 06:51:23 +00:00
parent 52051abcf1
commit 8827557e37

View File

@ -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;