From 16b27b3a1f0b1eb664662a62b73ca81585a5ece2 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Tue, 17 May 2022 21:30:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20doq=E8=BF=87=E4=BB=A3=E7=90=86=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dns/doq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/doq.go b/dns/doq.go index 8764ebab..7682a21e 100644 --- a/dns/doq.go +++ b/dns/doq.go @@ -177,7 +177,7 @@ func (dc *quicClient) openSession() (quic.Connection, error) { return nil, fmt.Errorf("quio create packet failed") } - udp = wrapConn.PacketConn + udp = wrapConn } session, err := quic.Dial(udp, &udpAddr, host, tlsConfig, quicConfig)