summaryrefslogtreecommitdiffstats
path: root/src/core/nvo.c
diff options
context:
space:
mode:
authorMichael Brown2007-06-28 00:20:36 +0200
committerMichael Brown2007-06-28 00:20:36 +0200
commit07dc294de8e984b450297037b53ac33b038dcd7b (patch)
treefa0bd2f4d3ad93e5104b1e20907b29740ef0d6ec /src/core/nvo.c
parentKill off hotplug.h and just make net devices normal reference-counted (diff)
downloadipxe-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.c4
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;
}