Fix hijack-dns

This commit is contained in:
世界 2024-11-10 16:52:11 +08:00
parent b4f1c2a596
commit 7daf2d1716
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -75,7 +75,6 @@ func exchangeDNSPacket(ctx context.Context, router *Router, conn N.PacketConn, b
return err return err
} }
err = conn.WritePacket(responseBuffer, destination) err = conn.WritePacket(responseBuffer, destination)
responseBuffer.Release()
return err return err
} }