mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-06-05 19:14:46 +08:00
fix: 追踪失败时不再进行ASN解析
This commit is contained in:
parent
dc1df70982
commit
d98eb4a823
@ -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]))
|
Logger.Warn(fmt.Sprintf("%s (%s) 检测不到回程路由节点的IP地址", model.Ipv6Names[i], model.Ipv6s[i]))
|
||||||
}
|
}
|
||||||
ch <- Result{i + offset, s}
|
ch <- Result{i + offset, s}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
asns := extractIpv6ASNsFromHops(hops, model.EnableLoger)
|
asns := extractIpv6ASNsFromHops(hops, model.EnableLoger)
|
||||||
// 如果没有找到ASN,尝试备选IP
|
// 如果没有找到ASN,尝试备选IP
|
||||||
|
Loading…
Reference in New Issue
Block a user