]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add recognition of token ring hardware type.
authorTed Lemon <source@isc.org>
Thu, 27 May 1999 14:10:22 +0000 (14:10 +0000)
committerTed Lemon <source@isc.org>
Thu, 27 May 1999 14:10:22 +0000 (14:10 +0000)
common/dlpi.c

index b02522efd2c678cda712d2b43b9fe3943981478f..41b134d21cb4d701bb7479d2ddbee90ae7d4ce8e 100644 (file)
@@ -70,7 +70,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: dlpi.c,v 1.11 1999/04/25 13:17:17 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dlpi.c,v 1.12 1999/05/27 14:10:22 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -213,6 +213,10 @@ int if_register_dlpi (info)
              case DL_ETHER:
                info -> hw_address.htype = HTYPE_ETHER;
                break;
+             /* adding token ring 5/1999 - mayer@ping.at  */ 
+             case DL_TPR:
+               info -> hw_address.htype = HTYPE_IEEE802;
+               break;
              case DL_FDDI:
                info -> hw_address.htype = HTYPE_FDDI;
                break;