diff options
author | Wadim Egorov <w.egorov@phytec.de> | 2015-09-28 12:48:01 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-09-29 09:34:17 +0200 |
commit | 4a1379886fd508db95e337f230fe3c1ec5c110d8 (patch) | |
tree | bdbc39197f372abf699cdb55d20a4d5164545d93 /net | |
parent | e94d1eb5d313364d2659261c4658d37854eb9d70 (diff) | |
download | barebox-4a1379886fd508db95e337f230fe3c1ec5c110d8.tar.gz barebox-4a1379886fd508db95e337f230fe3c1ec5c110d8.tar.xz |
net: dhcp: Fix CONFIG variable name
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dhcp.c b/net/dhcp.c index e1625ec9cd..fb8a7133c1 100644 --- a/net/dhcp.c +++ b/net/dhcp.c @@ -158,7 +158,7 @@ static void env_str_handle(struct dhcp_opt *opt, unsigned char *popt, int optlen if (opt->copy_only_if_valid && !strlen(tmp)) return; - if (opt->barebox_var_name && IS_ENABLED(EVIRONMENT_VARIABLES)) + if (opt->barebox_var_name && IS_ENABLED(CONFIG_ENVIRONMENT_VARIABLES)) setenv(opt->barebox_var_name, tmp); if (opt->barebox_dhcp_global && IS_ENABLED(CONFIG_GLOBALVAR)) dhcp_set_barebox_global(opt->barebox_dhcp_global, tmp); |