2000-05-09 Alexandra Ellwood <lxs@mit.edu>
authorAlexandra Ellwood <lxs@mit.edu>
Tue, 9 May 2000 18:27:21 +0000 (18:27 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Tue, 9 May 2000 18:27:21 +0000 (18:27 +0000)
*localaddr.c: Fixed the local_addr_fallback_kludge so that it actually does something.
Before that the error code it was handling was blowing it away in cleanup.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12243 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/localaddr.c

index 88fdd88b4e48ff23128fb795ad822e716fbe1d08..819494009f4f3e3db6a88bf366a02930194a620d 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-09     Alexandra Ellwood <lxs@mit.edu>
+
+       *localaddr.c: Fixed the local_addr_fallback_kludge so that it actually does something.
+       Before that the error code it was handling was blowing it away in cleanup.
+
 2000-04-29  Jeffrey Altman <jaltman@columbia.edu>
 
         * hst_realm.c (krb5_get_host_realm)
index 9079500e153b30cfb7d3ac38591b42e7ea6aca93..f0f1a29ecefa184b1a7a094883240e942d0f31e4 100644 (file)
@@ -473,6 +473,8 @@ krb5_os_localaddr (krb5_context context, krb5_address ***addr) {
            hostrec = local_addr_fallback_kludge();
            if (!hostrec)
                    return err;
+               else
+                       err = 0;  /* otherwise we will die at cleanup */
     }
 
     for (count = 0; hostrec->h_addr_list[count]; count++);