mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-24 00:59:19 +02:00
Initialize 'inside_topdomain'. Fixes #94
This commit is contained in:
parent
3db5ccaf33
commit
23eb466c81
|
@ -30,6 +30,7 @@ CHANGES:
|
|||
- Merged low-latency patch from Anne Bezemer, fixes #76.
|
||||
- Resolve client nameserver argument if given as hostname, fixes #82.
|
||||
- Open log before chroot, fixes #86: logging on FreeBSD.
|
||||
- Fix DNS tunneling bug caused by uninitialized variable, #94
|
||||
|
||||
2009-06-01: 0.5.2 "WifiFree"
|
||||
- Fixed client segfault on OS X, #57
|
||||
|
|
|
@ -1567,7 +1567,7 @@ tunnel_dns(int tun_fd, int dns_fd, int bind_fd)
|
|||
struct query q;
|
||||
int read;
|
||||
int domain_len;
|
||||
int inside_topdomain;
|
||||
int inside_topdomain = 0;
|
||||
|
||||
if ((read = read_dns(dns_fd, tun_fd, &q)) <= 0)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue