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

This commit is contained in:
spiritlhl authored and GitHub committed 2025-05-17 17:44:07 +08:00
1 parent 92f4236606
commit dc1df70982
1 file changed
+1
+1
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