mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Assign the len field of the netbuf structure to the current length of
a sockaddr. Obtained from: NetBSD
This commit is contained in:
parent
bb508e7732
commit
5ee7403731
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247550
@ -260,7 +260,7 @@ clnt_vc_create(fd, raddr, prog, vers, sendsz, recvsz)
|
||||
if (ct->ct_addr.buf == NULL)
|
||||
goto err;
|
||||
memcpy(ct->ct_addr.buf, raddr->buf, raddr->len);
|
||||
ct->ct_addr.len = raddr->maxlen;
|
||||
ct->ct_addr.len = raddr->len;
|
||||
ct->ct_addr.maxlen = raddr->maxlen;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user