mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 17:41:18 +03:00
[iscsi] Include DHCP server address in iBFT
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user