From: Ted Lemon Date: Sat, 8 May 1999 18:12:27 +0000 (+0000) Subject: Add support for token ring hardware type, which supposedly works. X-Git-Tag: V2-BETA-1-PATCH-28~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33fadc360792e7a73397f1563aa4a5d80604c72f;p=thirdparty%2Fdhcp.git Add support for token ring hardware type, which supposedly works. --- diff --git a/common/dlpi.c b/common/dlpi.c index d5f238eba..5be34e29b 100644 --- a/common/dlpi.c +++ b/common/dlpi.c @@ -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;