mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2025-08-12 06:26:39 +00:00
Merge branch 'main' of https://github.com/xgadget-lab/nexttrace
This commit is contained in:
@@ -32,6 +32,7 @@ func hopPrinter(v2 methods.TracerouteHop) {
|
||||
|
||||
ipStr := v2.Address.String()
|
||||
|
||||
// TODO: 判断 err 返回,并且在CLI终端提示错误
|
||||
if dataOrigin == "LeoMoeAPI" {
|
||||
iPGeoData, err = ipgeo.LeoIP(ipStr)
|
||||
} else if dataOrigin == "IP.SB" {
|
||||
|
||||
Reference in New Issue
Block a user