diff options
author | Tomas Abrahamsson <[email protected]> | 2012-05-08 21:30:07 +0200 |
---|---|---|
committer | Tomas Abrahamsson <[email protected]> | 2012-05-31 18:48:13 +0200 |
commit | f79dd5dc88ff86c3394d25eed37432c32d80f6da (patch) | |
tree | c1b30df720fc0e3e76c084527d89f90c67378b4b /otp_build | |
parent | 3e348c69b6921dd0e2c5b699ccd36d46321c953c (diff) | |
download | otp-f79dd5dc88ff86c3394d25eed37432c32d80f6da.tar.gz otp-f79dd5dc88ff86c3394d25eed37432c32d80f6da.tar.bz2 otp-f79dd5dc88ff86c3394d25eed37432c32d80f6da.zip |
inet_drv.c: Set sockaddr lengths in inet_set_[f]address
Set appropriate values for the sockaddr length fields---sai.sin_len
and sai6.sin6_len---if those fields exist; rely on the NO_SA_LEN
configure check to see if they exist. The length field exists on at
least FreeBSD, and there it needs to have a proper value for instance
in the call to sctp_bindx, or else that will fail with EINVAL.
Diffstat (limited to 'otp_build')
0 files changed, 0 insertions, 0 deletions