summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown2008-03-21 01:01:27 +0100
committerMichael Brown2008-03-21 01:01:27 +0100
commitaec9b8a41b6cad1b257c4e3a7f043f35871aafd0 (patch)
treed75b982ed496f3f5142f5b6c02fcbd3cea868f6e /src/usr
parent[Settings] Convert code in src/usr to use settings API. (diff)
downloadipxe-aec9b8a41b6cad1b257c4e3a7f043f35871aafd0.tar.gz
ipxe-aec9b8a41b6cad1b257c4e3a7f043f35871aafd0.tar.xz
ipxe-aec9b8a41b6cad1b257c4e3a7f043f35871aafd0.zip
[Settings] Use a settings applicator to configure IPv4 routes.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/dhcpmgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/dhcpmgmt.c b/src/usr/dhcpmgmt.c
index 0c6b4588..39fe9207 100644
--- a/src/usr/dhcpmgmt.c
+++ b/src/usr/dhcpmgmt.c
@@ -32,11 +32,11 @@
*
*/
-static int dhcp_success ( struct net_device *netdev,
+static int dhcp_success ( struct net_device *netdev __unused,
struct dhcp_option_block *options ) {
DBGC ( options, "DHCP client registering options %p\n", options );
register_dhcp_options ( options );
- return dhcp_configure_netdev ( netdev, options );
+ return 0;
}
int dhcp ( struct net_device *netdev ) {