mirror of
https://github.com/yarrick/iodine.git
synced 2025-11-10 04:02:46 +00:00
Revert client shutdown code, it seems BADIP can arrive even though everything works
This commit is contained in:
@@ -227,12 +227,6 @@ tunnel_dns(int tun_fd, int dns_fd)
|
||||
if ((read = read_dns(dns_fd, in, sizeof(in))) <= 0)
|
||||
return -1;
|
||||
|
||||
if (read == 5 && strncmp("BADIP", in, 5) == 0) {
|
||||
errx(3, "Not recognized by server. "
|
||||
"Has it been restarted? Aborting");
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
||||
outlen = sizeof(out);
|
||||
inlen = read;
|
||||
if (uncompress((uint8_t*)out, &outlen, (uint8_t*)in, inlen) != Z_OK) {
|
||||
|
||||
Reference in New Issue
Block a user