diff options
author | Michael Brown | 2016-03-29 20:38:18 +0200 |
---|---|---|
committer | Michael Brown | 2016-03-29 20:38:18 +0200 |
commit | 97c3f6e55a941a3caf3a0a36346d2e89f5a7b283 (patch) | |
tree | cfa4d50acd8b4b4b773387986eaaffa7f0d9a9a9 /src/drivers/block | |
parent | [crypto] Allow cross-certificate source to be configured at build time (diff) | |
download | ipxe-97c3f6e55a941a3caf3a0a36346d2e89f5a7b283.tar.gz ipxe-97c3f6e55a941a3caf3a0a36346d2e89f5a7b283.tar.xz ipxe-97c3f6e55a941a3caf3a0a36346d2e89f5a7b283.zip |
[iscsi] Include DHCP server address in iBFT
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/block')
-rw-r--r-- | src/drivers/block/ibft.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/block/ibft.c b/src/drivers/block/ibft.c index 6aabd766..91a808d8 100644 --- a/src/drivers/block/ibft.c +++ b/src/drivers/block/ibft.c @@ -260,6 +260,7 @@ static int ibft_fill_nic ( struct ibft_nic *nic, ibft_set_ipaddr_setting ( NULL, &nic->dns[0], &dns_setting, ( sizeof ( nic->dns ) / sizeof ( nic->dns[0] ) ) ); + ibft_set_ipaddr_setting ( parent, &nic->dhcp, &dhcp_server_setting, 1 ); DBG ( "iBFT NIC DNS = %s", ibft_ipaddr ( &nic->dns[0] ) ); DBG ( ", %s\n", ibft_ipaddr ( &nic->dns[1] ) ); if ( ( rc = ibft_set_string_setting ( NULL, strings, &nic->hostname, |