* network.c (setup_port): Ignore AF_LINK addresses. Log address family number
authorKen Raeburn <raeburn@mit.edu>
Thu, 8 Aug 2002 06:50:15 +0000 (06:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 8 Aug 2002 06:50:15 +0000 (06:50 +0000)
if unrecognized.

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

src/kdc/ChangeLog
src/kdc/network.c

index 295aa97f41352c6cf24633d615330b0ad6a6b30f..617beb4ccdabaa4a3af32d72dbe4eb4448c9a9af 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-08  Ken Raeburn  <raeburn@mit.edu>
+
+       * network.c (setup_port): Ignore AF_LINK addresses.  Log address
+       family number if unrecognized.
+
 2002-07-05  Ken Raeburn  <raeburn@mit.edu>
 
        * kdc_util.h (ADDRTYPE2FAMILY): New macro.
index adfb27e3b7f19931e209c6ba36d3622ec0a4f57d..7eeb282327b3c17455d646251cf9acf9c8e13bf0 100644 (file)
@@ -173,10 +173,15 @@ setup_port(void *P_data, struct sockaddr *addr)
 #else
     break;
 #endif
+#endif
+#ifdef AF_LINK /* some BSD systems, AIX */
+    case AF_LINK:
+       return 0;
 #endif
     default:
        krb5_klog_syslog (LOG_INFO,
-                         "skipping unrecognized local address family");
+                         "skipping unrecognized local address family %d",
+                         addr->sa_family);
        return 0;
     }