From 2d303e3f3dc4c9314cac81a27aefc5a81dc07316 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 26 Apr 2001 05:29:49 +0000 Subject: * klist.c (one_addr): Drop getipnodebyaddr support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13199 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/klist/ChangeLog | 4 ++++ src/clients/klist/klist.c | 12 +----------- 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 + + * klist.c (one_addr): Drop getipnodebyaddr support. + 2000-10-17 Ezra Peisach * 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 -- cgit