Update DHCP to use data-xfer interface (not yet tested).

This commit is contained in:
Michael Brown
2007-06-27 23:20:36 +01:00
parent f77815f2b1
commit 07dc294de8
8 changed files with 250 additions and 148 deletions

View File

@@ -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;
}