david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[DHCP] Add "dhcp-server" setting to help end-user diagnostics

This commit is contained in:
Michael Brown 2008-06-05 15:43:34 +01:00
parent 4180815a90
commit 5102033215
1 changed files with 8 additions and 0 deletions

View File

@ -260,6 +260,14 @@ static struct dhcp_settings * dhcpset_create ( const struct dhcphdr *dhcphdr,
return dhcpset;
}
/** DHCP server address setting */
struct setting dhcp_server_setting __setting = {
.name = "dhcp-server",
.description = "DHCP server address",
.tag = DHCP_SERVER_IDENTIFIER,
.type = &setting_type_ipv4,
};
/****************************************************************************
*
* DHCP session