From ac339226ec2e6f359c9911d28c32965b55efdf87 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 8 Aug 2002 06:50:15 +0000 Subject: [PATCH] * 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 --- src/kdc/ChangeLog | 5 +++++ src/kdc/network.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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; } -- 2.26.2