commit | e0aadfbce07dc8bce999f574f97bfc33a05d6f91 | [log] [tgz] |
---|---|---|
author | stroese <stroese> | Thu Aug 28 14:17:32 2003 +0000 |
committer | stroese <stroese> | Thu Aug 28 14:17:32 2003 +0000 |
tree | fcc90efe718cf41f033b77417c87aa79cabf6464 | |
parent | b10ba6b361ec2b5c53537564f4d15a397951b90f [diff] [blame] |
- Added CONFIG_BOOTP_DNS2 and CONFIG_BOOTP_SEND_HOSTNAME to CONFIG_BOOTP_MASK.
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 @@ 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);