mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
12 lines
493 B
Diff
12 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)
|