diff options
author | Michael Brown | 2011-01-11 01:53:50 +0100 |
---|---|---|
committer | Michael Brown | 2011-01-19 14:52:48 +0100 |
commit | 17d28f48776b909d031bcb0435c852ade1bd8988 (patch) | |
tree | 476b71c1eff4ec7ec5999504c112ae321d3acbb6 /src/net/dhcpopts.c | |
parent | [nvo] Remove the non-volatile options fragment list (diff) | |
download | ipxe-17d28f48776b909d031bcb0435c852ade1bd8988.tar.gz ipxe-17d28f48776b909d031bcb0435c852ade1bd8988.tar.xz ipxe-17d28f48776b909d031bcb0435c852ade1bd8988.zip |
[nvo] Allow resizing of non-volatile stored option blocks
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/dhcpopts.c')
-rw-r--r-- | src/net/dhcpopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c index d1330eae..f04b8e71 100644 --- a/src/net/dhcpopts.c +++ b/src/net/dhcpopts.c @@ -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; |