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

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

View File

@ -85,6 +85,7 @@ func traceIPv6(ch chan Result, i int, offset int) {
Logger.Warn(fmt.Sprintf("%s (%s) 检测不到回程路由节点的IP地址", model.Ipv6Names[i], model.Ipv6s[i]))
}
ch <- Result{i + offset, s}
return
}
asns := extractIpv6ASNsFromHops(hops, model.EnableLoger)
// 如果没有找到ASN尝试备选IP