mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-23 05:43:32 +02:00
Use null in query
This commit is contained in:
parent
5a224ee71a
commit
e6da8c66d8
1 changed files with 1 additions and 1 deletions
2
dns.c
2
dns.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue