This commit is contained in:
zhshch2002
2022-05-13 13:00:07 +08:00

View File

@@ -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" {