summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-01-18 22:22:03 +0100
committerMichael Brown2007-01-18 22:22:03 +0100
commit075f8144ff4383c148be33744ed493fe30b5f53d (patch)
tree3f40d625cd944554b2e03e5d298d70848c5d7667 /src/include
parentUse total free memory as advertised window. This seems to be sufficient (diff)
downloadipxe-075f8144ff4383c148be33744ed493fe30b5f53d.tar.gz
ipxe-075f8144ff4383c148be33744ed493fe30b5f53d.tar.xz
ipxe-075f8144ff4383c148be33744ed493fe30b5f53d.zip
Have DHCP set the nameserver, rather than DNS read the DHCP nameserver
value.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/dns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/dns.h b/src/include/gpxe/dns.h
index 234517ffb..fca3a7a35 100644
--- a/src/include/gpxe/dns.h
+++ b/src/include/gpxe/dns.h
@@ -109,6 +109,8 @@ struct dns_request {
struct retry_timer timer;
};
+extern struct in_addr nameserver;
+
extern int dns_resolv ( const char *name, struct sockaddr *sa,
struct async *parent );