From 7daf2d171613e0454bbcd3593114dfa51f946e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sun, 10 Nov 2024 16:52:11 +0800 Subject: [PATCH] Fix hijack-dns --- route/dns.go | 1 - 1 file changed, 1 deletion(-) diff --git a/route/dns.go b/route/dns.go index a0c376c2..5fb8b47f 100644 --- a/route/dns.go +++ b/route/dns.go @@ -75,7 +75,6 @@ func exchangeDNSPacket(ctx context.Context, router *Router, conn N.PacketConn, b return err } err = conn.WritePacket(responseBuffer, destination) - responseBuffer.Release() return err }