summaryrefslogtreecommitdiffstats
path: root/common/cmd_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_net.c')
-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 4d4a1ea9ed..e9b54d2450 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);
OpenPOWER on IntegriCloud