Skip to content

Commit

Permalink
Added "hostname" and "ip" as sample settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Aug 11, 2006
1 parent fe774fe commit dd9399f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/core/settings.c
Expand Up @@ -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,
},
};

0 comments on commit dd9399f

Please sign in to comment.