summaryrefslogtreecommitdiffstats
path: root/net/dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dhcp.c')
-rw-r--r--net/dhcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dhcp.c b/net/dhcp.c
index 4d74733d37..68696d69e8 100644
--- a/net/dhcp.c
+++ b/net/dhcp.c
@@ -242,7 +242,7 @@ struct dhcp_opt dhcp_options[] = {
}, {
.option = 6,
.handle = env_ip_handle,
- .barebox_var_name = "net.nameserver",
+ .barebox_var_name = "global.net.nameserver",
}, {
.option = DHCP_HOSTNAME,
.copy_only_if_valid = 1,
@@ -252,7 +252,7 @@ struct dhcp_opt dhcp_options[] = {
}, {
.option = 15,
.handle = env_str_handle,
- .barebox_var_name = "net.domainname",
+ .barebox_var_name = "global.net.domainname",
}, {
.option = 17,
.handle = env_str_handle,