summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-03-25 21:57:30 +0000
committerTed Lemon <source@isc.org>1999-03-25 21:57:30 +0000
commitdeffc1636be9390973f7c803367e7c4a83a5c235 (patch)
tree1c3edcfde86ae5754d8fb651479fa9adbbba8470
parentf8b21a3d3305c5a170ec7923a9e94c34941c76f0 (diff)
downloadisc-dhcp-deffc1636be9390973f7c803367e7c4a83a5c235.tar.gz
Make unknown hardware address type a warning instead of a fatal error.
-rw-r--r--common/discover.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/discover.c b/common/discover.c
index 6b9127dc..16899386 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) */