Skip to content

Commit

Permalink
高亮显示扩充
Browse files Browse the repository at this point in the history
  • Loading branch information
tsosunchia committed Dec 8, 2023
1 parent ef0631f commit 21a92e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions printer/realtime_printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ func RealtimePrinter(res *trace.Result, ttl int) {
fallthrough
case res.Hops[ttl][i].Geo.Asnumber == "23764":
fallthrough
case res.Hops[ttl][i].Geo.Whois == "CTG-CN":
fallthrough
case res.Hops[ttl][i].Geo.Whois == "[CNC-BACKBONE]":
fallthrough
case res.Hops[ttl][i].Geo.Whois == "[CUG-BACKBONE]":
fallthrough
case res.Hops[ttl][i].Geo.Whois == "CMIN2-NET":
fallthrough
case strings.HasPrefix(res.Hops[ttl][i].Address.String(), "59.43."):
Expand Down Expand Up @@ -131,6 +137,8 @@ func RealtimePrinter(res *trace.Result, ttl int) {
fallthrough
case res.Hops[ttl][i].Geo.Asnumber == "23764":
fallthrough
case whoisFormat[0] == "[CTG-CN]":
fallthrough
case whoisFormat[0] == "[CNC-BACKBONE]":
fallthrough
case whoisFormat[0] == "[CUG-BACKBONE]":
Expand Down

0 comments on commit 21a92e1

Please sign in to comment.