mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-13 14:00:53 +00:00
oops
This commit is contained in:
parent
f9a2f07e11
commit
7dd28d9095
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue