diff options
author | Michael Brown | 2007-06-28 00:20:36 +0200 |
---|---|---|
committer | Michael Brown | 2007-06-28 00:20:36 +0200 |
commit | 07dc294de8e984b450297037b53ac33b038dcd7b (patch) | |
tree | fa0bd2f4d3ad93e5104b1e20907b29740ef0d6ec /src/core/nvo.c | |
parent | Kill off hotplug.h and just make net devices normal reference-counted (diff) | |
download | ipxe-07dc294de8e984b450297037b53ac33b038dcd7b.tar.gz ipxe-07dc294de8e984b450297037b53ac33b038dcd7b.tar.xz ipxe-07dc294de8e984b450297037b53ac33b038dcd7b.zip |
Update DHCP to use data-xfer interface (not yet tested).
Diffstat (limited to 'src/core/nvo.c')
-rw-r--r-- | src/core/nvo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nvo.c b/src/core/nvo.c index 14ed4e19..8c6c9c0f 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; } |