aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet_config.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2010-02-03 11:17:04 +0100
committerBjörn Gustavsson <[email protected]>2010-02-09 13:41:42 +0100
commita53dfdc8d1656faf4b8fc7b41d036f25684d71fe (patch)
treec3a63b3d07caa777ae83081d6ff9be8ec1959776 /lib/kernel/src/inet_config.erl
parent502afaf945dc006c0d2859257b163fd581aee843 (diff)
downloadotp-a53dfdc8d1656faf4b8fc7b41d036f25684d71fe.tar.gz
otp-a53dfdc8d1656faf4b8fc7b41d036f25684d71fe.tar.bz2
otp-a53dfdc8d1656faf4b8fc7b41d036f25684d71fe.zip
inet_gethost_native: workaround for empty result hostname on MacOS X
On MacOS X the getaddrinfo function apparently can return a result without canonical hostname e.g when looking up a IPv6 address string as hostname. The receiving erlang code was not prepared for that and this patch does a workaround by using the search string as default value for canonical hostname.
Diffstat (limited to 'lib/kernel/src/inet_config.erl')
0 files changed, 0 insertions, 0 deletions