]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
* klist.c (one_addr): Drop getipnodebyaddr support
authorKen Raeburn <raeburn@mit.edu>
Thu, 26 Apr 2001 05:29:49 +0000 (05:29 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 26 Apr 2001 05:29:49 +0000 (05:29 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13199 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/klist/ChangeLog
src/clients/klist/klist.c

index 13baa14b285ed8785d48fc91dd17792bf178d995..50bf5da55a3a949680a6bf3c48e330c46f06b698 100644 (file)
@@ -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.
index 60a12173033c7404deec9dfe702aeedac8c0115f..06bed72bdd4e3a60f42cdf9f68249bcfeb5eae57 100644 (file)
@@ -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