Have DHCP set the nameserver, rather than DNS read the DHCP nameserver

value.
This commit is contained in:
Michael Brown
2007-01-18 21:22:03 +00:00
parent c014f607a8
commit 075f8144ff
2 changed files with 18 additions and 12 deletions

View File

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