diff options
author | Ted Lemon <source@isc.org> | 1998-11-06 02:40:40 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1998-11-06 02:40:40 +0000 |
commit | d25524bd8df9e2f028d88410b90edaab5c937596 (patch) | |
tree | 32bd88d36176b258d9e5aa4738ff825dc3859825 /common/memory.c | |
parent | 71bf7bfebdbea023199547eacbebe83bf01f752e (diff) | |
download | isc-dhcp-d25524bd8df9e2f028d88410b90edaab5c937596.tar.gz |
Evaluate option cache associated with client identifier option, not just the expression.
Diffstat (limited to 'common/memory.c')
-rw-r--r-- | common/memory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/memory.c b/common/memory.c index 700357df..5d5349a9 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; } } |