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:
parent
52051abcf1
commit
8827557e37
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user