]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use input options for option operand.
authorTed Lemon <source@isc.org>
Fri, 23 Apr 1999 22:22:55 +0000 (22:22 +0000)
committerTed Lemon <source@isc.org>
Fri, 23 Apr 1999 22:22:55 +0000 (22:22 +0000)
common/tree.c

index e7695db6136228d1c7bbed69b9fc22a2c809ac20..8872d36d656a32086a1823758ddeb800c4c068c3 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: tree.c,v 1.26 1999/04/12 22:11:12 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: tree.c,v 1.27 1999/04/23 22:22:55 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -634,7 +634,8 @@ int evaluate_data_expression (result, packet, options, expr)
              case expr_option:
                s0 = ((*expr -> data.option -> universe -> get_func)
                      (result, expr -> data.option -> universe,
-                      packet -> options, expr -> data.option -> code));
+                      options, expr -> data.option -> code));
+
 #if defined (DEBUG_EXPRESSIONS)
                log_info ("data: option %s.%s = %s",
                      expr -> data.option -> universe -> name,