From: Ted Lemon Date: Sat, 11 Jul 1998 00:35:20 +0000 (+0000) Subject: Add (possibly incorrect) support for FDDI hardware type. X-Git-Tag: V2-BETA-1-PATCH-7~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04a1d18dafe0c3e4da7983b41cc337e7cf485419;p=thirdparty%2Fdhcp.git Add (possibly incorrect) support for FDDI hardware type. --- diff --git a/common/dispatch.c b/common/dispatch.c index 92fd579b7..a5e79cdad 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dispatch.c,v 1.47.2.2 1998/06/25 21:11:28 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dispatch.c,v 1.47.2.3 1998/07/11 00:35:20 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -224,6 +224,16 @@ void discover_interfaces (state) sa.sa_data, 6); break; +#ifdef ARPHRD_FDDI + case ARPHRD_FDDI: + tmp -> hw_address.hlen = 16; + tmp -> hw_address.htype = ARPHRD_FDDI; + memcpy (tmp -> hw_address.haddr, + sa.sa_data, 16); + + break; +#endif + #ifdef ARPHRD_METRICOM case ARPHRD_METRICOM: tmp -> hw_address.hlen = 6;