From bb14bb68c671e55b25ded5941113d9b0c5688b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sat, 14 Sep 2024 09:22:09 +0800 Subject: [PATCH] Fix sniffer --- route/router.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/route/router.go b/route/router.go index d4be2129..a77a6165 100644 --- a/route/router.go +++ b/route/router.go @@ -1055,8 +1055,6 @@ func (r *Router) RoutePacketConnection(ctx context.Context, conn N.PacketConn, m } } } - } - if err == nil { conn = bufio.NewCachedPacketConn(conn, buffer, destination) } for _, cachedBuffer := range common.Reverse(bufferList) {