]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use new class option constants.
authorTed Lemon <source@isc.org>
Fri, 23 Apr 1999 23:50:22 +0000 (23:50 +0000)
committerTed Lemon <source@isc.org>
Fri, 23 Apr 1999 23:50:22 +0000 (23:50 +0000)
server/confpars.c

index f193d327e9b41decabc5ac432631ad545e034c15..82fe25f82f6d0895c54a29fdefda3e27098fda2b 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: confpars.c,v 1.71 1999/04/08 19:39:54 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: confpars.c,v 1.72 1999/04/23 23:50:22 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1059,8 +1059,8 @@ struct class *parse_class_declaration (cfile, group, type)
                                stmt -> data.option -> option =
                                        dhcp_universe.options
                                        [type
-                                       ? DHO_DHCP_CLASS_IDENTIFIER
-                                       : DHO_DHCP_USER_CLASS_ID];
+                                       ? DHO_VENDOR_CLASS_IDENTIFIER
+                                       : DHO_USER_CLASS];
                        }
                        class -> statements = stmt;
                }