]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use more general option space function calls.
authorTed Lemon <source@isc.org>
Mon, 5 Apr 1999 15:35:54 +0000 (15:35 +0000)
committerTed Lemon <source@isc.org>
Mon, 5 Apr 1999 15:35:54 +0000 (15:35 +0000)
common/execute.c

index 5f118c04892584a6bee29b38ed2ad1078134a0a0..de1e94a44db0a74d8143faf8c1b2476731609c17 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: execute.c,v 1.8 1999/03/16 05:50:34 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: execute.c,v 1.9 1999/04/05 15:35:54 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -116,10 +116,11 @@ int execute_statements (packet, in_options, out_options, statements)
                      option_statement:
 #endif
                        if (r -> data.option -> option -> universe -> set_func)
-                               (r -> data.option -> option ->
-                                universe -> set_func) (out_options,
-                                                       r -> data.option,
-                                                       r -> op);
+                               ((r -> data.option -> option ->
+                                 universe -> set_func)
+                                (r -> data.option -> option -> universe,
+                                 out_options,
+                                 r -> data.option, r -> op));
                        break;
 
                      default: