add traffic reset for stats

This commit is contained in:
ginuerzh
2024-12-24 20:11:22 +08:00
parent 914a4622fd
commit 06d993023f
41 changed files with 407 additions and 143 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func (h *tunnelHandler) handleBind(ctx context.Context, conn net.Conn, network,
return
}
var stats *stats.Stats
var stats stats.Stats
if h.stats != nil {
stats = h.stats.Stats(tunnelID.String())
}