Send ping on receive data

This commit is contained in:
Erik Ekman 2006-06-06 16:00:27 +00:00
parent e7aa847b08
commit ed9d4e7de1

View file

@ -94,6 +94,9 @@ tunnel(int tun_fd, int dns_fd)
#endif
write_tun(tun_fd, frame, read + 4);
if (!dns_sending()) {
dns_ping(dns_fd);
}
}
}
}