[Settings] Use a settings applicator to configure IPv4 routes.

This commit is contained in:
Michael Brown
2008-03-21 00:01:27 +00:00
parent eae6ac3d0b
commit aec9b8a41b
7 changed files with 51 additions and 86 deletions

View File

@@ -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 ) {