+2001-04-26 Ken Raeburn <raeburn@mit.edu>
+
+ * klist.c (one_addr): Drop getipnodebyaddr support.
+
2000-10-17 Ezra Peisach <epeisach@mit.edu>
* klist.c (one_addr): gethostbyaddr takes an int as second argument.
af = AF_INET6;
#endif
if (!no_resolve) {
-#ifdef HAVE_GETIPNODEBYADDR
- int err;
- h = getipnodebyaddr(a->contents, a->length, af, &err);
- if (h) {
- printf("%s", h->h_name);
- freehostent(h);
- }
-#else
h = gethostbyaddr(a->contents, (int) a->length, af);
if (h) {
printf("%s", h->h_name);
- }
-#endif
- if (h)
return;
+ }
}
if (no_resolve || !h) {
#ifdef HAVE_INET_NTOP