- Added CONFIG_BOOTP_DNS2 and CONFIG_BOOTP_SEND_HOSTNAME to CONFIG_BOOTP_MASK.

This commit is contained in:
stroese
2003-08-28 14:17:32 +00:00
parent d94f92cbd7
commit fe389a82c9
9 changed files with 74 additions and 13 deletions

View File

@ -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);