add a config option to disable automatically setting the dhcp hostname
This commit is contained in:
parent
a210cf6a66
commit
4aa2749737
4 changed files with 13 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ struct lif_config_file lif_config = {
|
|||
.allow_addon_scripts = true,
|
||||
.allow_any_iface_as_template = true,
|
||||
.implicit_template_conversion = true,
|
||||
.use_hostname_for_dhcp = true,
|
||||
};
|
||||
|
||||
static bool
|
||||
|
|
@ -47,6 +48,7 @@ static struct lif_config_handler handlers[] = {
|
|||
{"allow_addon_scripts", set_bool_value, &lif_config.allow_addon_scripts},
|
||||
{"allow_any_iface_as_template", set_bool_value, &lif_config.allow_any_iface_as_template},
|
||||
{"implicit_template_conversion", set_bool_value, &lif_config.implicit_template_conversion},
|
||||
{"use_hostname_for_dhcp", set_bool_value, &lif_config.use_hostname_for_dhcp},
|
||||
};
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue