summaryrefslogtreecommitdiff
path: root/common/memory.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-07-31 17:57:36 +0000
committerTed Lemon <source@isc.org>1999-07-31 17:57:36 +0000
commit8cdb80a7726a218f40fd52de767ee882113bf4c4 (patch)
tree2ca01af753c843a66e99ea242781b40c3f82b4e8 /common/memory.c
parentfd6f298fc5f7abab23de550f28589c1d16b1a093 (diff)
downloadisc-dhcp-8cdb80a7726a218f40fd52de767ee882113bf4c4.tar.gz
- Fix up expression evaluation calls.
Diffstat (limited to 'common/memory.c')
-rw-r--r--common/memory.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/memory.c b/common/memory.c
index cd506c6b..830b912b 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -22,7 +22,7 @@
#ifndef lint
static char copyright[] =
-"$Id: memory.c,v 1.52 1999/07/02 20:57:24 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: memory.c,v 1.53 1999/07/31 17:57:27 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -86,8 +86,9 @@ void enter_host (hd)
evaluate_option_cache
(&hd -> client_identifier,
(struct packet *)0,
- (struct option_state *)0,
(struct lease *)0,
+ (struct option_state *)0,
+ (struct option_state *)0,
esp -> data.option);
break;
}
@@ -176,8 +177,9 @@ struct subnet *find_host_for_network (host, addr, share)
if (!hp -> fixed_addr)
continue;
if (!evaluate_data_expression (&fixed_addr, (struct packet *)0,
- (struct option_state *)0,
(struct lease *)0,
+ (struct option_state *)0,
+ (struct option_state *)0,
hp -> fixed_addr -> expression))
continue;
for (i = 0; i < fixed_addr.len; i += 4) {