From: Ted Lemon Date: Thu, 21 Oct 1999 03:09:13 +0000 (+0000) Subject: Support ignore in boolean expression evaluations. X-Git-Tag: BCTEL_SPECIAL_19991124~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f8b3234022a671d9d0ae55af292561df2893ef;p=thirdparty%2Fdhcp.git Support ignore in boolean expression evaluations. --- diff --git a/server/class.c b/server/class.c index 1799711c0..6e231402a 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) {