Fix: tun2socks not lookup IP

This commit is contained in:
Dreamacro
2019-02-11 15:44:42 +08:00
parent 2383cca2ce
commit 1339487ce4
3 changed files with 9 additions and 5 deletions

View File

@ -219,6 +219,10 @@ func (r *Resolver) resolve(client []*nameserver, msg *D.Msg) <-chan *result {
return ch
}
func (r *Resolver) IsMapping() bool {
return r.mapping
}
type NameServer struct {
Net string
Addr string