X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=common%2Fcmd_net.c;h=87c4ed112b1e8f37f1546cfb23eea76666533139;hb=d1f6052e6af18fc9c90a8bdaa4b5f8d916fdab35;hp=d75718ce5019235b761c4f7fec4fa162bfe3f928;hpb=5e70b3280d182933d96b7bd3c0e91765c9bd78cd;p=karo-tx-uboot.git diff --git a/common/cmd_net.c b/common/cmd_net.c index d75718ce50..87c4ed112b 100644 --- a/common/cmd_net.c +++ b/common/cmd_net.c @@ -124,11 +124,11 @@ static void netboot_update_env(void) setenv("netmask", tmp); } - if (NetOurHostName[0]) - setenv("hostname", NetOurHostName); + if (net_hostname[0]) + setenv("hostname", net_hostname); - if (NetOurRootPath[0]) - setenv("rootpath", NetOurRootPath); + if (net_root_path[0]) + setenv("rootpath", net_root_path); if (net_ip.s_addr) { ip_to_string(net_ip, tmp); @@ -154,8 +154,8 @@ static void netboot_update_env(void) setenv("dnsip2", tmp); } #endif - if (NetOurNISDomain[0]) - setenv("domain", NetOurNISDomain); + if (net_nis_domain[0]) + setenv("domain", net_nis_domain); #if defined(CONFIG_CMD_SNTP) \ && defined(CONFIG_BOOTP_TIMEOFFSET)