This bug is created as a clone of upstream ticket:
#### Issue Description
net_ntoa(), inet_aton(), and inet_addr(), and gethostbyname() potentially don't work well with IPv6.
Use **getaddrinfo()** or **getnameinfo()** instead of `gethostbyname()`
Use **inet_ntop()** or **inet_pton()** instead of: `inet_ntoa(), inet_aton(), and inet_addr()`
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.