http://git.etherboot.org
/
people
/
balajirrao
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4180815
)
[DHCP] Add "dhcp-server" setting to help end-user diagnostics
author
Michael Brown
<mcb30@etherboot.org>
Thu, 5 Jun 2008 14:43:34 +0000
(15:43 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 5 Jun 2008 14:43:34 +0000
(15:43 +0100)
src/net/udp/dhcp.c
patch
|
blob
|
history
diff --git
a/src/net/udp/dhcp.c
b/src/net/udp/dhcp.c
index
ecb7378
..
0ce3c19
100644
(file)
--- 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