summaryrefslogtreecommitdiff
path: root/common/tree.c
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2006-06-01 20:23:18 +0000
committerDavid Hankins <dhankins@isc.org>2006-06-01 20:23:18 +0000
commitf7fdb21693ec2f2ef44d8e8bebc4609e4d7b67c7 (patch)
tree32c2431210e7b34feaf85d66f714ce928655a48d /common/tree.c
parentee912528163bb70b3c0de65608f9d05fff03044d (diff)
downloadisc-dhcp-f7fdb21693ec2f2ef44d8e8bebc4609e4d7b67c7.tar.gz
- Varying option space code and length bit widths (8/16/32) are now
supported. This is a milestone in acheiving RFC 3925 "VIVSO" and DHCPv6 support. [ISC-Bugs #15979]
Diffstat (limited to 'common/tree.c')
-rw-r--r--common/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/tree.c b/common/tree.c
index a572b8d9..bfabf3e1 100644
--- a/common/tree.c
+++ b/common/tree.c
@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
-"$Id: tree.c,v 1.105 2006/05/11 16:31:29 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
+"$Id: tree.c,v 1.106 2006/06/01 20:23:17 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -289,7 +289,7 @@ int option_cache (struct option_cache **oc, struct data_string *dp,
data_string_copy (&(*oc) -> data, dp, file, line);
if (expr)
expression_reference (&(*oc) -> expression, expr, file, line);
- (*oc) -> option = option;
+ option_reference(&(*oc)->option, option, MDL);
return 1;
}