fix: 追踪失败时不再进行ASN解析

This commit is contained in:
spiritlhl 2025-05-17 17:44:07 +08:00 committed by GitHub
parent 92f4236606
commit dc1df70982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,6 +70,7 @@ func trace(ch chan Result, i int) {
Logger.Error(fmt.Sprintf("追踪 %s (%s) 失败: %v", model.Ipv4Names[i], model.Ipv4s[i], err))
}
ch <- Result{i, s}
return
}
asns := extractIpv4ASNsFromHops(hops, model.EnableLoger)
// 如果没有找到ASN尝试备选IP