Malte says without this:
It fails with "Address family for hostname not supported: Device or
resource busy" if IPv6 is requested (eg. if no bind address was
specified under Linux) but no interface has IPv6 configured (::1/128
and fe80::/64 do not count).
#endif
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE;
-#ifdef AI_ADDRCONFIG
- hints.ai_flags |= AI_ADDRCONFIG;
-#endif
snprintf(portstr, sizeof(portstr), "%u", bindport);
if ((ret = getaddrinfo(bindaddr, portstr, &hints, &ai)))
err(1, "getaddrinfo(%s,%s) failed: %s",