mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-03 07:45:20 +00:00
Pass down the option state in store_options.
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: options.c,v 1.38 1999/04/05 15:40:59 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: options.c,v 1.39 1999/04/05 19:03:59 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#define DHCP_OPTION_DATA
|
#define DHCP_OPTION_DATA
|
||||||
@@ -501,8 +501,7 @@ int store_options (buffer, buflen, options, priority_list, priority_len,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Find the value of the option... */
|
/* Find the value of the option... */
|
||||||
evaluate_option_cache (&od, (struct packet *)0,
|
evaluate_option_cache (&od, (struct packet *)0, options, oc);
|
||||||
(struct option_state *)0, oc);
|
|
||||||
if (!od.len) {
|
if (!od.len) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user