diff options
| author | Michael Brown | 2008-03-21 23:15:31 +0100 |
|---|---|---|
| committer | Michael Brown | 2008-03-21 23:15:31 +0100 |
| commit | 8afb36c3bc08ff0c9bdf0a8496cb08a8bfe287f3 (patch) | |
| tree | 4369c087ca4c75593fe6d287fca658516d20a9d8 /src/arch/i386 | |
| parent | [DHCP] Kill off some no-longer-used DHCP functions (diff) | |
| download | ipxe-8afb36c3bc08ff0c9bdf0a8496cb08a8bfe287f3.tar.gz ipxe-8afb36c3bc08ff0c9bdf0a8496cb08a8bfe287f3.tar.xz ipxe-8afb36c3bc08ff0c9bdf0a8496cb08a8bfe287f3.zip | |
[Settings] Migrate DHCP and NVO code to the new settings API (untested)
Diffstat (limited to 'src/arch/i386')
| -rw-r--r-- | src/arch/i386/image/nbi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/i386/image/nbi.c b/src/arch/i386/image/nbi.c index 195cfbf7a..d167755ef 100644 --- a/src/arch/i386/image/nbi.c +++ b/src/arch/i386/image/nbi.c @@ -9,6 +9,7 @@ #include <gpxe/init.h> #include <gpxe/netdevice.h> #include <gpxe/dhcp.h> +#include <gpxe/dhcppkt.h> #include <gpxe/image.h> #include <gpxe/features.h> @@ -400,10 +401,9 @@ static int nbi_prepare_dhcp ( struct image *image ) { return -ENODEV; } - if ( ( rc = create_dhcp_response ( boot_netdev, DHCPACK, NULL, - basemem_packet, - sizeof ( basemem_packet ), - &dhcppkt ) ) != 0 ) { + if ( ( rc = create_dhcp_response ( &dhcppkt, boot_netdev, DHCPACK, + NULL, basemem_packet, + sizeof ( basemem_packet ) ) ) != 0){ DBGC ( image, "NBI %p failed to build DHCP packet\n", image ); return rc; } |
