From 17d28f48776b909d031bcb0435c852ade1bd8988 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 11 Jan 2011 00:53:50 +0000 Subject: [nvo] Allow resizing of non-volatile stored option blocks Signed-off-by: Michael Brown --- src/net/dhcpopts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c index d1330eae5..f04b8e712 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; -- cgit v1.2.3-55-g7522