summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorstroese <stroese>2003-08-28 14:17:32 +0000
committerstroese <stroese>2003-08-28 14:17:32 +0000
commitfe389a82c9f9f29c54768e3b3ac947487ff85d59 (patch)
treefcc90efe718cf41f033b77417c87aa79cabf6464 /common
parentd94f92cbd7f4a4d3bf0d5d963b709c686e8f6633 (diff)
downloadu-boot-imx-fe389a82c9f9f29c54768e3b3ac947487ff85d59.zip
u-boot-imx-fe389a82c9f9f29c54768e3b3ac947487ff85d59.tar.gz
u-boot-imx-fe389a82c9f9f29c54768e3b3ac947487ff85d59.tar.bz2
- Added CONFIG_BOOTP_DNS2 and CONFIG_BOOTP_SEND_HOSTNAME to CONFIG_BOOTP_MASK.
Diffstat (limited to 'common')
-rw-r--r--common/cmd_net.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/cmd_net.c b/common/cmd_net.c
index 4d4a1ea..e9b54d2 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -116,6 +116,13 @@ static void netboot_update_env(void)
setenv("dnsip", tmp);
}
+#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+ if (NetOurDNS2IP) {
+ ip_to_string (NetOurDNS2IP, tmp);
+ setenv("dnsip2", tmp);
+ }
+#endif
+
if (NetOurNISDomain[0])
setenv("domain", NetOurNISDomain);