summaryrefslogtreecommitdiff
path: root/net/net.c
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 /net/net.c
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 'net/net.c')
-rw-r--r--net/net.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/net.c b/net/net.c
index dafcc56..a139742 100644
--- a/net/net.c
+++ b/net/net.c
@@ -84,6 +84,9 @@
IPaddr_t NetOurSubnetMask=0; /* Our subnet mask (0=unknown) */
IPaddr_t NetOurGatewayIP=0; /* Our gateways IP address */
IPaddr_t NetOurDNSIP=0; /* Our DNS IP address */
+#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+IPaddr_t NetOurDNS2IP=0; /* Our 2nd DNS IP address */
+#endif
char NetOurNISDomain[32]={0,}; /* Our NIS domain */
char NetOurHostName[32]={0,}; /* Our hostname */
char NetOurRootPath[64]={0,}; /* Our bootpath */