Revert client shutdown code, it seems BADIP can arrive even though everything works

This commit is contained in:
Erik Ekman
2008-12-06 12:25:02 +00:00
committed by Erik Ekman
parent bc6945527e
commit ae942ac542
2 changed files with 0 additions and 7 deletions

View File

@@ -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) {