aboutsummaryrefslogtreecommitdiff
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-03-21 00:01:27 +0000
committerMichael Brown <mcb30@etherboot.org>2008-03-21 00:01:27 +0000
commitaec9b8a41b6cad1b257c4e3a7f043f35871aafd0 (patch)
treed75b982ed496f3f5142f5b6c02fcbd3cea868f6e /src/usr
parenteae6ac3d0bdb5f25193af9584db4eec9dd5226c9 (diff)
downloadipxe-aec9b8a41b6cad1b257c4e3a7f043f35871aafd0.zip
ipxe-aec9b8a41b6cad1b257c4e3a7f043f35871aafd0.tar.gz
ipxe-aec9b8a41b6cad1b257c4e3a7f043f35871aafd0.tar.bz2
[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 0c6b458..39fe920 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 ) {