From 07dc294de8e984b450297037b53ac33b038dcd7b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 27 Jun 2007 23:20:36 +0100 Subject: Update DHCP to use data-xfer interface (not yet tested). --- src/core/nvo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/nvo.c b/src/core/nvo.c index 14ed4e194..8c6c9c0f2 100644 --- a/src/core/nvo.c +++ b/src/core/nvo.c @@ -194,7 +194,7 @@ int nvo_register ( struct nvo_block *nvo ) { return 0; err: - free_dhcp_options ( nvo->options ); + dhcpopt_put ( nvo->options ); nvo->options = NULL; return rc; } @@ -208,7 +208,7 @@ void nvo_unregister ( struct nvo_block *nvo ) { if ( nvo->options ) { unregister_dhcp_options ( nvo->options ); - free_dhcp_options ( nvo->options ); + dhcpopt_put ( nvo->options ); nvo->options = NULL; } -- cgit v1.2.3-55-g7522