From: Ted Lemon Date: Thu, 25 Mar 1999 21:57:30 +0000 (+0000) Subject: Make unknown hardware address type a warning instead of a fatal error. X-Git-Tag: V3-ALPHA-19990326~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=deffc1636be9390973f7c803367e7c4a83a5c235;p=thirdparty%2Fdhcp.git Make unknown hardware address type a warning instead of a fatal error. --- diff --git a/common/discover.c b/common/discover.c index 6b9127dc9..16899386c 100644 --- a/common/discover.c +++ b/common/discover.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: discover.c,v 1.6 1999/03/16 05:50:33 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: discover.c,v 1.7 1999/03/25 21:57:30 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -381,8 +381,9 @@ void discover_interfaces (state) #endif default: - log_fatal ("%s: unknown hardware address type %d", - ifr.ifr_name, sa.sa_family); + log_error ("%s: unknown hardware address type %d", + ifr.ifr_name, sa.sa_family); + break; } } #endif /* defined (HAVE_SIOCGIFHWADDR) && !defined (HAVE_AF_LINK) */