diff options
author | Raimo Niskanen <[email protected]> | 2018-02-13 10:14:22 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2018-02-13 10:14:22 +0100 |
commit | ee6d1b9a61d8f2f087f0f3bf3ea2b933b5c3a93a (patch) | |
tree | d9e9a8021e47352abbf5215b4244a810709a52a2 /erts/etc | |
parent | 82e5a5df18e21e4220e51d89c666d1da70f12ec1 (diff) | |
download | otp-ee6d1b9a61d8f2f087f0f3bf3ea2b933b5c3a93a.tar.gz otp-ee6d1b9a61d8f2f087f0f3bf3ea2b933b5c3a93a.tar.bz2 otp-ee6d1b9a61d8f2f087f0f3bf3ea2b933b5c3a93a.zip |
Stop returning V4MAPPED addresses
Diffstat (limited to 'erts/etc')
-rw-r--r-- | erts/etc/common/inet_gethost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/etc/common/inet_gethost.c b/erts/etc/common/inet_gethost.c index b746487668..4fc7a93348 100644 --- a/erts/etc/common/inet_gethost.c +++ b/erts/etc/common/inet_gethost.c @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 1998-2017. All Rights Reserved. + * Copyright Ericsson AB 1998-2018. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1770,7 +1770,7 @@ static int worker_loop(void) } #elif defined(HAVE_GETIPNODEBYNAME) /*#ifdef HAVE_GETADDRINFO */ DEBUGF(5,("Starting getipnodebyname(%s)",data)); - he = getipnodebyname(data, AF_INET6, AI_DEFAULT, &error_num); + he = getipnodebyname(data, AF_INET6, 0, &error_num); if (he) { free_he = 1; error_num = 0; |