* kcmd.c (kcmd_connect): Set *addrfamilyp with the address family actually used
authorKen Raeburn <raeburn@mit.edu>
Fri, 1 Oct 2004 22:08:14 +0000 (22:08 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 1 Oct 2004 22:08:14 +0000 (22:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16799 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/kcmd.c

index 9ba9fc1602c61bbd288793c94092eced71d0f807..fcf95173b04d5ffd11c302dae985c9be7adbf570 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-01  Ken Raeburn  <raeburn@mit.edu>
+
+       * kcmd.c (kcmd_connect): Set *addrfamilyp with the address family
+       actually used.
+
 2004-09-22  Tom Yu  <tlyu@mit.edu>
 
        * configure.in: Use KRB5_AC_LIBUTIL.
index 2069ce93fe6d5d294c0154340745a51f9c3a67ca..7c00d97465da3af6cfdcf36f29ecfb62164c80f9 100644 (file)
@@ -304,6 +304,7 @@ connected:
 
     *sp = s;
     *sockinp = *(struct sockaddr_in *) ap->ai_addr;
+    *addrfamilyp = ap->ai_family;
     freeaddrinfo(ap2);
     return 0;
 }