This commit is contained in:
Bjorn Andersson 2006-06-06 18:02:18 +00:00
parent f9a2f07e11
commit 7dd28d9095

View File

@ -86,7 +86,7 @@ tunnel(int tun_fd, int dns_fd)
}
}
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) {
buflen = 64*1024-4;
uncompress(frame->data, &buflen, buf, read);