]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use set_option instead of universe -> set_func
authorTed Lemon <source@isc.org>
Tue, 10 Oct 2000 23:22:39 +0000 (23:22 +0000)
committerTed Lemon <source@isc.org>
Tue, 10 Oct 2000 23:22:39 +0000 (23:22 +0000)
common/execute.c

index 9451bf200deb1dd4a9a6276aa435e413214760c9..88c0c6bd5ccb0210b7811ed1bcd315f17a335cdb 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: execute.c,v 1.39 2000/08/28 19:36:30 neild Exp $ Copyright (c) 1998-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: execute.c,v 1.40 2000/10/10 23:22:39 mellon Exp $ Copyright (c) 1998-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -248,12 +248,8 @@ int execute_statements (result, packet, lease, in_options, out_options, scope,
                              r -> data.option -> option -> name);
                      option_statement:
 #endif
-                       if (r -> data.option -> option -> universe -> set_func)
-                               ((r -> data.option -> option ->
-                                 universe -> set_func)
-                                (r -> data.option -> option -> universe,
-                                 out_options,
-                                 r -> data.option, r -> op));
+                       set_option (r -> data.option -> option -> universe,
+                                   out_options, r -> data.option, r -> op);
                        break;
 
                      case set_statement: