summaryrefslogtreecommitdiff
path: root/include/net.h
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 /include/net.h
parentd94f92cbd7f4a4d3bf0d5d963b709c686e8f6633 (diff)
- Added CONFIG_BOOTP_DNS2 and CONFIG_BOOTP_SEND_HOSTNAME to CONFIG_BOOTP_MASK.
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index dd8d3780451..2d4aa94d0d4 100644
--- a/include/net.h
+++ b/include/net.h
@@ -275,6 +275,9 @@ typedef struct icmphdr {
extern IPaddr_t NetOurGatewayIP; /* Our gateway IP addresse */
extern IPaddr_t NetOurSubnetMask; /* Our subnet mask (0 = unknown)*/
extern IPaddr_t NetOurDNSIP; /* Our Domain Name Server (0 = unknown)*/
+#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+extern IPaddr_t NetOurDNS2IP; /* Our 2nd Domain Name Server (0 = unknown)*/
+#endif
extern char NetOurNISDomain[32]; /* Our NIS domain */
extern char NetOurHostName[32]; /* Our hostname */
extern char NetOurRootPath[64]; /* Our root path */