From e5cea13e51f5226987048275499314c6f15d526f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 22 Mar 2008 00:24:50 +0000 Subject: [Settings] Implement simple_settings backed with extensible DHCP options --- src/net/netdev_settings.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net') diff --git a/src/net/netdev_settings.c b/src/net/netdev_settings.c index 9baad888b..c8e630a9c 100644 --- a/src/net/netdev_settings.c +++ b/src/net/netdev_settings.c @@ -39,8 +39,8 @@ */ static int netdev_store ( struct settings *settings, unsigned int tag, const void *data, size_t len ) { - struct net_device *netdev = - container_of ( settings, struct net_device, settings ); + struct net_device *netdev = container_of ( settings, struct net_device, + settings.settings ); switch ( tag ) { case DHCP_EB_MAC: @@ -64,8 +64,8 @@ static int netdev_store ( struct settings *settings, unsigned int tag, */ static int netdev_fetch ( struct settings *settings, unsigned int tag, void *data, size_t len ) { - struct net_device *netdev = - container_of ( settings, struct net_device, settings ); + struct net_device *netdev = container_of ( settings, struct net_device, + settings.settings ); switch ( tag ) { case DHCP_EB_MAC: -- cgit v1.2.3-55-g7522