diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-03-22 00:24:50 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-03-22 00:31:08 +0000 |
commit | e5cea13e51f5226987048275499314c6f15d526f (patch) | |
tree | d346fa495c66a03eb2a5c40ef2eab3d92326d3c8 /src/net/netdev_settings.c | |
parent | a462c96ffc1e7d378c783823f768a47d323dd210 (diff) | |
download | ipxe-e5cea13e51f5226987048275499314c6f15d526f.tar.gz |
[Settings] Implement simple_settings backed with extensible DHCP options
Diffstat (limited to 'src/net/netdev_settings.c')
-rw-r--r-- | src/net/netdev_settings.c | 8 |
1 files changed, 4 insertions, 4 deletions
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: |