mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
[nvo] Allow resizing of non-volatile stored option blocks
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -402,7 +402,7 @@ int dhcpopt_fetch ( struct dhcp_options *options, unsigned int tag,
|
||||
* The "used length" field will be updated based on scanning through
|
||||
* the block to find the end of the options.
|
||||
*/
|
||||
static void dhcpopt_update_used_len ( struct dhcp_options *options ) {
|
||||
void dhcpopt_update_used_len ( struct dhcp_options *options ) {
|
||||
struct dhcp_option *option;
|
||||
int offset = 0;
|
||||
ssize_t remaining = options->alloc_len;
|
||||
|
||||
Reference in New Issue
Block a user