]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add (possibly incorrect) support for FDDI hardware type.
authorTed Lemon <source@isc.org>
Sat, 11 Jul 1998 00:35:20 +0000 (00:35 +0000)
committerTed Lemon <source@isc.org>
Sat, 11 Jul 1998 00:35:20 +0000 (00:35 +0000)
common/dispatch.c

index 92fd579b70abbc163bcaf2c6912b085c4bfe9953..a5e79cdade1ff8443dd6e81106cc9fec71c1a868 100644 (file)
@@ -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;