mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 22:51:27 +00:00
oops
This commit is contained in:
parent
f9a2f07e11
commit
7dd28d9095
2
dnstun.c
2
dnstun.c
|
@ -86,7 +86,7 @@ tunnel(int tun_fd, int dns_fd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(FD_ISSET(dns_fd, &fds)) {
|
if(FD_ISSET(dns_fd, &fds)) {
|
||||||
read = dns_read(dns_fd, frame->data, FRAMESIZE-4);
|
read = dns_read(dns_fd, buf, FRAMESIZE-4);
|
||||||
if (read > 0) {
|
if (read > 0) {
|
||||||
buflen = 64*1024-4;
|
buflen = 64*1024-4;
|
||||||
uncompress(frame->data, &buflen, buf, read);
|
uncompress(frame->data, &buflen, buf, read);
|
||||||
|
|
Loading…
Reference in a new issue