summaryrefslogtreecommitdiff
path: root/server/class.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-10-21 03:09:13 +0000
committerTed Lemon <source@isc.org>1999-10-21 03:09:13 +0000
commit63f8b3234022a671d9d0ae55af292561df2893ef (patch)
tree99bde266eab6d236c75951d8366e6817ecdf08a4 /server/class.c
parent2db25842e8de9c780dc22c4bb7ad5721cc03abfd (diff)
downloadisc-dhcp-63f8b3234022a671d9d0ae55af292561df2893ef.tar.gz
Support ignore in boolean expression evaluations.
Diffstat (limited to 'server/class.c')
-rw-r--r--server/class.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/class.c b/server/class.c
index 1799711c..6e231402 100644
--- a/server/class.c
+++ b/server/class.c
@@ -22,7 +22,7 @@
#ifndef lint
static char copyright[] =
-"$Id: class.c,v 1.14 1999/10/07 06:36:30 mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.\n";
+"$Id: class.c,v 1.15 1999/10/21 03:09:13 mellon Exp $ Copyright (c) 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -78,6 +78,7 @@ int check_collection (packet, lease, collection)
struct data_string data;
int matched = 0;
int status;
+ int ignorep;
for (class = collection -> classes; class; class = class -> nic) {
#if defined (DEBUG_CLASS_MATCHING)
@@ -155,7 +156,7 @@ int check_collection (packet, lease, collection)
}
status = (evaluate_boolean_expression_result
- (packet, lease,
+ (&ignorep, packet, lease,
packet -> options, (struct option_state *)0,
class -> expr));
if (status) {