Fix: dns crash & remove unused debug log

This commit is contained in:
Dreamacro
2018-12-10 11:00:52 +08:00
parent fcb1a7813a
commit fa9077969c
3 changed files with 3 additions and 8 deletions

View File

@ -120,8 +120,6 @@ func (t *Tunnel) handleConn(localConn C.ServerAdapter) {
log.Debugln("[DNS] %s --> %s", metadata.Host, ip.String())
metadata.IP = &ip
}
} else {
log.Debugln("[DNS] unknown%#v", metadata)
}
var proxy C.Proxy