mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
oc_recvfrom_at: correctly set *addrlen
This commit is contained in:
@@ -509,6 +509,7 @@ struct msghdr mh = {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
*addrlen = mh.msg_namelen;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user