To support IPV6, we need to migrate MIDAS from gethostbyname() to getaddrinfo(). (Thanks to http://www.openwall.com/lists/oss-security/2015/01/27/9). K.O.