summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-04-23 23:50:22 +0000
committerTed Lemon <source@isc.org>1999-04-23 23:50:22 +0000
commitca3a51a5f0a6ffa8caccd908ca25a20299e49209 (patch)
treed2bea12e90c2a6c7dae693a7ccd9ef607ae6995f
parent46904800ecf8622404e74ecf50c802c3238f1325 (diff)
downloadisc-dhcp-ca3a51a5f0a6ffa8caccd908ca25a20299e49209.tar.gz
Use new class option constants.
-rw-r--r--server/confpars.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/confpars.c b/server/confpars.c
index f193d327..82fe25f8 100644
--- a/server/confpars.c
+++ b/server/confpars.c
@@ -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;
}