From: Ted Lemon Date: Fri, 6 Nov 1998 02:40:40 +0000 (+0000) Subject: Evaluate option cache associated with client identifier option, not just the expression. X-Git-Tag: carrel-2~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d25524bd8df9e2f028d88410b90edaab5c937596;p=thirdparty%2Fdhcp.git Evaluate option cache associated with client identifier option, not just the expression. --- diff --git a/common/memory.c b/common/memory.c index 700357df9..5d5349a94 100644 --- a/common/memory.c +++ b/common/memory.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: memory.c,v 1.41 1998/11/05 18:42:18 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: memory.c,v 1.42 1998/11/06 02:40:40 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -101,11 +101,11 @@ void enter_host (hd) &dhcp_universe) && (esp -> data.option -> option -> code == DHO_DHCP_CLIENT_IDENTIFIER)) { - evaluate_data_expression + evaluate_option_cache (&hd -> client_identifier, (struct packet *)0, (struct option_state *)0, - esp -> data.option -> expression); + esp -> data.option); break; } }