mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-25 00:57:46 +00:00
Ignore ping packet on server
This commit is contained in:
parent
51bdcd9656
commit
5e7385a0ea
2
dns.c
2
dns.c
@ -185,7 +185,7 @@ dns_ping(int dns_fd)
|
||||
printf("No reply on chunk, resending\n");
|
||||
dns_send_chunk(dns_fd);
|
||||
} else {
|
||||
dns_write(dns_fd, dns_fd, "\0", 1);
|
||||
dns_write(dns_fd, dns_fd, "", 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user