Skip to content

Commit

Permalink
vet: dnscrypt/multiserver.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Nov 7, 2024
1 parent f908273 commit dba4cff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion intra/dnscrypt/multiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@ func resolve(network string, data *dns.Msg, si *serverinfo, smm *x.DNSSummary) (

proto, pids := xdns.Net2ProxyID(network)
useudp := proto == dnsx.NetTypeUDP
pid := si.chooseProxy(pids)
pid := dnsx.NetNoProxy
if si != nil {
pid = si.chooseProxy(pids)
}

// ans, si may be nil
ans, anonrelayaddr, qerr = query(pid, data, si, useudp)
Expand Down

0 comments on commit dba4cff

Please sign in to comment.