From: Ken Raeburn Date: Thu, 8 Aug 2002 06:50:15 +0000 (+0000) Subject: * network.c (setup_port): Ignore AF_LINK addresses. Log address family number X-Git-Tag: krb5-1.3-alpha1~534 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac339226ec2e6f359c9911d28c32965b55efdf87;p=krb5.git * network.c (setup_port): Ignore AF_LINK addresses. Log address family number if unrecognized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14687 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 295aa97f4..617beb4cc 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +2002-08-08 Ken Raeburn + + * network.c (setup_port): Ignore AF_LINK addresses. Log address + family number if unrecognized. + 2002-07-05 Ken Raeburn * kdc_util.h (ADDRTYPE2FAMILY): New macro. diff --git a/src/kdc/network.c b/src/kdc/network.c index adfb27e3b..7eeb28232 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -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; }