aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-05-29 12:38:26 +0200
committerMicael Karlberg <[email protected]>2019-07-08 16:53:40 +0200
commit86751fcc8665748a6bc8eeb5ab078f403d14107e (patch)
treedc8ba2cca39800281a76711ecc7dc29c95ada4de /erts/emulator/nifs
parente6226c6741f336b4c0f2d5b4c930be2fcd9c3737 (diff)
downloadotp-86751fcc8665748a6bc8eeb5ab078f403d14107e.tar.gz
otp-86751fcc8665748a6bc8eeb5ab078f403d14107e.tar.bz2
otp-86751fcc8665748a6bc8eeb5ab078f403d14107e.zip
[esock] Make it it work for IPv6
The nif code expects the socket address to be "complete", that is all fields must exist. This was not the case for a couple of functions, sendto, sendmsg and connect. What was mssing was a call to 'ensure_sockaddr'. Test: 1) Add a condition function to test if IPv6 is available and works. 2) Needed to adjust a test case (actually a common function used in several test cases) since the socket address data type has two optional fields, which we do not initiate (when sending), but the nif-code does fill in. OTP-15897
Diffstat (limited to 'erts/emulator/nifs')
0 files changed, 0 insertions, 0 deletions