]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Support fddi hardware type.
authorTed Lemon <source@isc.org>
Tue, 22 Dec 1998 22:43:22 +0000 (22:43 +0000)
committerTed Lemon <source@isc.org>
Tue, 22 Dec 1998 22:43:22 +0000 (22:43 +0000)
common/parse.c

index f25685c1305eec30aec39d6e97955679c88ad9b8..d750ec53434d0c23a5900250ff9d7eaf2038a8cb 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: parse.c,v 1.2.2.2 1998/11/24 22:35:43 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: parse.c,v 1.2.2.3 1998/12/22 22:43:22 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -222,6 +222,9 @@ void parse_hardware_param (cfile, hardware)
              case TOKEN_RING:
                hardware -> htype = HTYPE_IEEE802;
                break;
+             case FDDI:
+               hardware -> htype = HTYPE_FDDI;
+               break;
              default:
                parse_warn ("expecting a network hardware type");
                skip_to_semi (cfile);