]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Added "hostname" and "ip" as sample settings
authorMichael Brown <mcb30@etherboot.org>
Fri, 11 Aug 2006 18:29:20 +0000 (18:29 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 11 Aug 2006 18:29:20 +0000 (18:29 +0000)
src/core/settings.c

index e15fc297bdc63d189cbb0dee5d3038a110af5b80..20247dccd5f7cdbc30fd46afd7d51a5d62310f40 100644 (file)
@@ -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,
+       },
+};