]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add support for token ring hardware type, which supposedly works.
authorTed Lemon <source@isc.org>
Sat, 8 May 1999 18:12:27 +0000 (18:12 +0000)
committerTed Lemon <source@isc.org>
Sat, 8 May 1999 18:12:27 +0000 (18:12 +0000)
common/dlpi.c

index d5f238eba4e7619aae418ec4cd889a582b378d16..5be34e29b119508fc12cc9c460474d772f9d6da8 100644 (file)
@@ -84,7 +84,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: dlpi.c,v 1.2.2.7 1999/04/24 16:48:10 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dlpi.c,v 1.2.2.8 1999/05/08 18:12:27 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -227,6 +227,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;