mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 14:55:30 +00:00
Use more general option space function calls.
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -116,10 +116,11 @@ int execute_statements (packet, in_options, out_options, statements)
|
|||||||
option_statement:
|
option_statement:
|
||||||
#endif
|
#endif
|
||||||
if (r -> data.option -> option -> universe -> set_func)
|
if (r -> data.option -> option -> universe -> set_func)
|
||||||
(r -> data.option -> option ->
|
((r -> data.option -> option ->
|
||||||
universe -> set_func) (out_options,
|
universe -> set_func)
|
||||||
r -> data.option,
|
(r -> data.option -> option -> universe,
|
||||||
r -> op);
|
out_options,
|
||||||
|
r -> data.option, r -> op));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user