From: Ted Lemon Date: Thu, 27 May 1999 14:10:22 +0000 (+0000) Subject: Add recognition of token ring hardware type. X-Git-Tag: V3-ALPHA-19990527~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c541727bf55c197f5505caccf1d426af6aac71d6;p=thirdparty%2Fdhcp.git Add recognition of token ring hardware type. --- diff --git a/common/dlpi.c b/common/dlpi.c index b02522efd..41b134d21 100644 --- a/common/dlpi.c +++ b/common/dlpi.c @@ -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;