mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-11-10 11:44:54 +03:00
Merge declaration and assignment
This commit is contained in:
parent
018d8412be
commit
26505ab560
@ -75,8 +75,7 @@ func handleColdStartClient(clientPc *net.UDPConn, cancelChannel chan struct{}, i
|
||||
if question.Qclass != dns.ClassINET {
|
||||
return false
|
||||
}
|
||||
var respMsg *dns.Msg
|
||||
respMsg = EmptyResponseFromMessage(msg)
|
||||
respMsg := EmptyResponseFromMessage(msg)
|
||||
ttl := uint32(1)
|
||||
if question.Qtype == dns.TypeA {
|
||||
for _, xip := range ips {
|
||||
|
Loading…
Reference in New Issue
Block a user