8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
11 lines
493 B
Diff
11 lines
493 B
Diff
--- inetutils-1.9.4.org/whois/whois.c 2015-03-31 17:40:50.000000000 +0200
|
|
+++ inetutils-1.9.4/whois/whois.c 2017-04-20 10:23:38.487358708 +0200
|
|
@@ -576,7 +576,7 @@
|
|
hints.ai_family = AF_UNSPEC;
|
|
hints.ai_socktype = SOCK_STREAM;
|
|
|
|
- if ((i = getaddrinfo (server, port ? port : "whois", &hints, &res)) != 0)
|
|
+ if ((i = getaddrinfo (server, port ? port : "nicname", &hints, &res)) != 0)
|
|
err_quit ("getaddrinfo: %s", gai_strerror (i));
|
|
|
|
for (ressave = res; res; res = res->ai_next)
|