diff options
| author | Michael Brown | 2008-06-05 16:43:34 +0200 |
|---|---|---|
| committer | Michael Brown | 2008-06-05 16:43:34 +0200 |
| commit | 51020332152900025eb43cea457ebf76a662700d (patch) | |
| tree | 348afebc4a4ab2f0a23d055aa8575e2792bb7fae /src | |
| parent | [GDB] Test suite for the GDB stub (diff) | |
| download | ipxe-51020332152900025eb43cea457ebf76a662700d.tar.gz ipxe-51020332152900025eb43cea457ebf76a662700d.tar.xz ipxe-51020332152900025eb43cea457ebf76a662700d.zip | |
[DHCP] Add "dhcp-server" setting to help end-user diagnostics
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/udp/dhcp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index ecb737850..0ce3c19d4 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -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 |
