Use null in query

This commit is contained in:
Erik Ekman 2006-06-06 02:07:29 +00:00
parent 5a224ee71a
commit e6da8c66d8

2
dns.c
View file

@ -281,7 +281,7 @@ dns_write(int fd, int id, char *buf, int len)
strncpy(d, topdomain, strlen(topdomain)+1);
printf("Resolving %s\n", data);
dns_query(fd, id, data, T_A);
dns_query(fd, id, data, T_NULL);
return avail;
}