Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
18 lines
503 B
Diff
18 lines
503 B
Diff
--- a/src/dns.c 2007-06-25 23:58:38.000000000 -0700
|
|
+++ b/src/dns.c 2016-06-04 16:20:19.644865127 -0700
|
|
@@ -113,12 +113,13 @@
|
|
lookup_host_addrinfo(struct addrinfo **res, const char *host, int port)
|
|
{
|
|
struct addrinfo hints;
|
|
- char ascport[10] = "whois";
|
|
+ char ascport[10] = "nicname";
|
|
int error;
|
|
|
|
memset(&hints, 0, sizeof(hints));
|
|
hints.ai_family = PF_UNSPEC;
|
|
|
|
+ hints.ai_flags = AI_ADDRCONFIG;
|
|
hints.ai_socktype = SOCK_STREAM;
|
|
if (port)
|
|
sprintf(ascport, "%9.9d", port);
|