diff options
author | Raimo Niskanen <[email protected]> | 2010-01-28 17:01:00 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-09 13:41:42 +0100 |
commit | cc90d8c3642afa626b483b92c53964365d72b35a (patch) | |
tree | 64f07e3fe207469ce40a2b55d3e545c213db0091 /lib/kernel/priv | |
parent | 51bb4c6ae1e4d61304aee5b4bf77279d838da84a (diff) | |
download | otp-cc90d8c3642afa626b483b92c53964365d72b35a.tar.gz otp-cc90d8c3642afa626b483b92c53964365d72b35a.tar.bz2 otp-cc90d8c3642afa626b483b92c53964365d72b35a.zip |
inet:gethostbyname improved to parse IP strings and look up own hostname
Now inet:gethostbyname tries to parse the hostname as an IP string
first if the 'native' lookup method is not used. One can also
make the IP string parsing explicit using the new 'string'
lookup method, or avoid it using the new pseudo lookup
method 'nostring'.
In R13B04 a bug was introduced when the gethostbyname code
was rewritten, so if the native resolver was used and
misconfigured to not be able to look up the own hostname,
inet:gethostbyname also failed. This is now fixed.
Diffstat (limited to 'lib/kernel/priv')
0 files changed, 0 insertions, 0 deletions