diff --git a/tunnel/statistic/tracker.go b/tunnel/statistic/tracker.go index 9f231547..1f5f1f9c 100644 --- a/tunnel/statistic/tracker.go +++ b/tunnel/statistic/tracker.go @@ -77,9 +77,6 @@ func NewTCPTracker(conn C.Conn, manager *Manager, metadata *C.Metadata, rule C.R if rule != nil { t.trackerInfo.Rule = rule.RuleType().String() t.trackerInfo.RulePayload = rule.Payload() - //if rule.RuleType() == C.GEOSITE || rule.RuleType() == C.GEOIP { - // t.trackerInfo.Rule = t.trackerInfo.Rule + " (" + rule.Payload() + ")" - //} } manager.Join(t) @@ -137,9 +134,6 @@ func NewUDPTracker(conn C.PacketConn, manager *Manager, metadata *C.Metadata, ru if rule != nil { ut.trackerInfo.Rule = rule.RuleType().String() ut.trackerInfo.RulePayload = rule.Payload() - //if rule.RuleType() == C.GEOSITE || rule.RuleType() == C.GEOIP { - // ut.trackerInfo.Rule = ut.trackerInfo.Rule + " (" + rule.Payload() + ")" - //} } manager.Join(ut)