mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-22 17:41:55 +00:00
[settings] Move "domain" setting from dns.c to settings.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
4010890a39
commit
7ea6764031
@ -1838,6 +1838,14 @@ struct setting hostname_setting __setting ( SETTING_HOST ) = {
|
||||
.type = &setting_type_string,
|
||||
};
|
||||
|
||||
/** Domain name setting */
|
||||
struct setting domain_setting __setting ( SETTING_IPv4_EXTRA ) = {
|
||||
.name = "domain",
|
||||
.description = "DNS domain",
|
||||
.tag = DHCP_DOMAIN_NAME,
|
||||
.type = &setting_type_string,
|
||||
};
|
||||
|
||||
/** TFTP server setting */
|
||||
struct setting next_server_setting __setting ( SETTING_BOOT ) = {
|
||||
.name = "next-server",
|
||||
|
@ -304,6 +304,7 @@ extern struct setting netmask_setting __setting ( SETTING_IPv4 );
|
||||
extern struct setting gateway_setting __setting ( SETTING_IPv4 );
|
||||
extern struct setting dns_setting __setting ( SETTING_IPv4_EXTRA );
|
||||
extern struct setting hostname_setting __setting ( SETTING_HOST );
|
||||
extern struct setting domain_setting __setting ( SETTING_IPv4_EXTRA );
|
||||
extern struct setting filename_setting __setting ( SETTING_BOOT );
|
||||
extern struct setting root_path_setting __setting ( SETTING_SANBOOT );
|
||||
extern struct setting username_setting __setting ( SETTING_AUTH );
|
||||
|
@ -600,14 +600,6 @@ struct setting dns_setting __setting ( SETTING_IPv4_EXTRA ) = {
|
||||
.type = &setting_type_ipv4,
|
||||
};
|
||||
|
||||
/** Domain name setting */
|
||||
struct setting domain_setting __setting ( SETTING_IPv4_EXTRA ) = {
|
||||
.name = "domain",
|
||||
.description = "DNS domain",
|
||||
.tag = DHCP_DOMAIN_NAME,
|
||||
.type = &setting_type_string,
|
||||
};
|
||||
|
||||
/**
|
||||
* Apply DNS settings
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user