aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/code_server.erl
diff options
context:
space:
mode:
authorTomas Abrahamsson <[email protected]>2012-05-08 21:30:07 +0200
committerTomas Abrahamsson <[email protected]>2012-05-31 18:48:13 +0200
commitf79dd5dc88ff86c3394d25eed37432c32d80f6da (patch)
treec1b30df720fc0e3e76c084527d89f90c67378b4b /lib/kernel/src/code_server.erl
parent3e348c69b6921dd0e2c5b699ccd36d46321c953c (diff)
downloadotp-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 'lib/kernel/src/code_server.erl')
0 files changed, 0 insertions, 0 deletions