From: Ken Raeburn Date: Thu, 26 Apr 2001 05:29:49 +0000 (+0000) Subject: * klist.c (one_addr): Drop getipnodebyaddr support X-Git-Tag: krb5-1.3-beta2~1545 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d303e3f3dc4c9314cac81a27aefc5a81dc07316;p=thirdparty%2Fkrb5.git * klist.c (one_addr): Drop getipnodebyaddr support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13199 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 13baa14b28..50bf5da55a 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 60a1217303..06bed72bdd 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