Fix sniffer

This commit is contained in:
世界 2024-09-14 09:22:09 +08:00
parent df8baa6561
commit bb14bb68c6
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -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) {