nbrownus / mlogger

Log to syslog from the command line, just like `logger` but more massive
21 stars 3 forks source link

IPv6 support: switch from gethostbyname() to getaddrinfo() #5

Closed njh closed 7 years ago

njh commented 8 years ago

Other bonus is that getaddrinfo() iterates through all the DNS responses, not just taking the first one.

Tested on Mac OS 10.10.5 and Debian 8.0.

Fixes #4

njh commented 7 years ago

Thanks!