summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/dns.c b/mdk-stage1/dns.c
index e323817b6..47049302b 100644
--- a/mdk-stage1/dns.c
+++ b/mdk-stage1/dns.c
@@ -45,7 +45,7 @@ int mygethostbyname(char * name, struct in_addr * addr)
return -1;
h = gethostbyname(name);
- if (!h && ddomain) {
+ if (!h && domain) {
// gethostbyname from dietlibc doesn't support domain handling
char fully_qualified[500];
sprintf(fully_qualified, "%s.%s", name, domain);