summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2001-04-26 05:29:49 +0000
committerKen Raeburn <raeburn@mit.edu>2001-04-26 05:29:49 +0000
commit2d303e3f3dc4c9314cac81a27aefc5a81dc07316 (patch)
treeeff3a1f0f0f34c3dd9afd9b0f093fbeb7599128b
parent940ff1b84565c238e93e0cba20eccf9a03d1fca1 (diff)
downloadkrb5-2d303e3f3dc4c9314cac81a27aefc5a81dc07316.tar.gz
krb5-2d303e3f3dc4c9314cac81a27aefc5a81dc07316.tar.xz
krb5-2d303e3f3dc4c9314cac81a27aefc5a81dc07316.zip
* klist.c (one_addr): Drop getipnodebyaddr support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13199 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/clients/klist/ChangeLog4
-rw-r--r--src/clients/klist/klist.c12
2 files changed, 5 insertions, 11 deletions
diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog
index 13baa14b2..50bf5da55 100644
--- a/src/clients/klist/ChangeLog
+++ b/src/clients/klist/ChangeLog
@@ -1,3 +1,7 @@
+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.
diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
index 60a121730..06bed72bd 100644
--- a/src/clients/klist/klist.c
+++ b/src/clients/klist/klist.c
@@ -662,21 +662,11 @@ void one_addr(a)
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