From: Michael Brown Date: Fri, 11 Aug 2006 18:29:20 +0000 (+0000) Subject: Added "hostname" and "ip" as sample settings X-Git-Tag: v0.9.3~1093 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd9399f527d386de4e4a2f0ec461b9edf52cc898;p=thirdparty%2Fipxe.git Added "hostname" and "ip" as sample settings --- diff --git a/src/core/settings.c b/src/core/settings.c index e15fc297b..20247dccd 100644 --- 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, + }, +};