From: Ted Lemon Date: Fri, 23 Apr 1999 22:22:55 +0000 (+0000) Subject: Use input options for option operand. X-Git-Tag: V3-ALPHA-19990423~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f594d52c7e5edf7d59721fc0e8a7cdc30dd2a496;p=thirdparty%2Fdhcp.git Use input options for option operand. --- diff --git a/common/tree.c b/common/tree.c index e7695db61..8872d36d6 100644 --- a/common/tree.c +++ b/common/tree.c @@ -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,