http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe774fe
)
Added "hostname" and "ip" as sample settings
author
Michael Brown
<mcb30@etherboot.org>
Fri, 11 Aug 2006 18:29:20 +0000
(18:29 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 11 Aug 2006 18:29:20 +0000
(18:29 +0000)
src/core/settings.c
patch
|
blob
|
history
diff --git
a/src/core/settings.c
b/src/core/settings.c
index
e15fc29
..
20247dc
100644
(file)
--- a/
src/core/settings.c
+++ b/
src/core/settings.c
@@
-251,3
+251,16
@@
struct config_setting_type config_setting_type_ipv4 __config_setting_type = {
.set = set_ipv4,
};
+/** Some basic setting definitions */
+struct config_setting basic_config_settings[] __config_setting = {
+ {
+ .name = "hostname",
+ .tag = DHCP_HOST_NAME,
+ .type = &config_setting_type_string,
+ },
+ {
+ .name = "ip",
+ .tag = DHCP_EB_YIADDR,
+ .type = &config_setting_type_ipv4,
+ },
+};