diff packages/redboot/current/include/net/net.h @ 1357:7b0dae4bd7a9

Use DNS server from DHCP info if present
author gthomas
date Fri, 07 Nov 2003 18:14:10 +0000
parents 2f008c4111e7
children 20fee0cef763
line wrap: on
line diff
--- a/packages/redboot/current/include/net/net.h
+++ b/packages/redboot/current/include/net/net.h
@@ -359,6 +359,12 @@ extern ip_addr_t   __local_ip_gate;
 extern ip_addr_t   __local_ip_mask;
 #endif
 
+#ifdef CYGPKG_REDBOOT_NETWORKING_DNS
+extern struct in_addr __bootp_dns_addr;
+extern cyg_bool __bootp_dns_set;
+#endif
+
+
 /*
  * Set a timer. Caller is responsible for providing the timer_t struct.
  */