diff --git a/limelight-common/Connection.c b/limelight-common/Connection.c index 29262a7..2ccec3d 100644 --- a/limelight-common/Connection.c +++ b/limelight-common/Connection.c @@ -131,6 +131,7 @@ static int resolveHostName(char *host) memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_UNSPEC; + hints.ai_flags = AI_ADDRCONFIG; err = getaddrinfo(host, NULL, &hints, &res); if (err != 0) { return err;