mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
Chore: code style
This commit is contained in:
parent
7e2c6e5188
commit
fe76cbf31c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user