From 35ec5bd0443493f981669f73f482184e4e37f4da Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 9 Jan 2018 20:10:06 +0100 Subject: [PATCH] We can now receive queries on UDP and forward them on TCP Something that had never been possible with the old implementation --- dnscrypt-proxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/main.go b/dnscrypt-proxy/main.go index b4603122..64df94ca 100644 --- a/dnscrypt-proxy/main.go +++ b/dnscrypt-proxy/main.go @@ -67,7 +67,7 @@ func (proxy *Proxy) udpListener(listenAddr *net.UDPAddr) error { } packet := buffer[:length] go func() { - proxy.processIncomingQuery(proxy.serversInfo.getOne(), "udp", packet, &clientAddr, clientPc) + proxy.processIncomingQuery(proxy.serversInfo.getOne(), proxy.mainProto, packet, &clientAddr, clientPc) }() } }