]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- Fix up calls to evaluate_boolean_expression.
authorTed Lemon <source@isc.org>
Sat, 31 Jul 1999 17:56:09 +0000 (17:56 +0000)
committerTed Lemon <source@isc.org>
Sat, 31 Jul 1999 17:56:09 +0000 (17:56 +0000)
common/execute.c

index 64cbf2723178125c880b160fb5928b47984ddc75..2930102b6b9b1843ea40bee79147e8f6f73e3959 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: execute.c,v 1.15 1999/07/19 15:34:33 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: execute.c,v 1.16 1999/07/31 17:56:09 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -87,8 +87,8 @@ int execute_statements (packet, lease, in_options, out_options, statements)
 
                      case if_statement:
                        status = evaluate_boolean_expression
-                               (&result, packet,
-                                in_options, lease, r -> data.ie.expr);
+                               (&result, packet, lease,
+                                in_options, out_options, r -> data.ie.expr);
                        
 #if defined (DEBUG_EXPRESSIONS)
                        log_debug ("exec: if %s", (status
@@ -106,8 +106,8 @@ int execute_statements (packet, lease, in_options, out_options, statements)
 
                      case eval_statement:
                        status = evaluate_boolean_expression
-                               (&result,
-                                packet, in_options, lease, r -> data.eval);
+                               (&result, packet, lease,
+                                in_options, out_options, r -> data.eval);
 #if defined (DEBUG_EXPRESSIONS)
                        log_debug ("exec: evaluate: %s",
                              (status