mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-30 13:35:09 +00:00
Added missing braces
This commit is contained in:
parent
d509c911c1
commit
0229ee0d46
@ -90,10 +90,11 @@ tunnel(int tun_fd, int dns_fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (i==0) {
|
if (i==0) {
|
||||||
if (q.id != 0)
|
if (q.id != 0) {
|
||||||
dnsd_send(dns_fd, &q, outpacket.data, outpacket.len);
|
dnsd_send(dns_fd, &q, outpacket.data, outpacket.len);
|
||||||
outpacket.len = 0;
|
outpacket.len = 0;
|
||||||
q.id = 0;
|
q.id = 0;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if(FD_ISSET(tun_fd, &fds)) {
|
if(FD_ISSET(tun_fd, &fds)) {
|
||||||
read = read_tun(tun_fd, in, sizeof(in));
|
read = read_tun(tun_fd, in, sizeof(in));
|
||||||
|
Loading…
Reference in New Issue
Block a user