mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2025-08-12 06:26:39 +00:00
remove: 过于具体的地区信息,此类信息往往精准度有待考察
This commit is contained in:
@@ -62,9 +62,6 @@ func formatIpGeoData(ip string, data *ipgeo.IPGeoData) string {
|
||||
if data.Owner == "" {
|
||||
data.Owner = data.Isp
|
||||
}
|
||||
if data.District != "" {
|
||||
data.City = data.City + ", " + data.District
|
||||
}
|
||||
if data.Prov == "" && data.City == "" {
|
||||
// anyCast或是骨干网数据不应该有国家信息
|
||||
data.Owner = data.Owner + ", " + data.Owner
|
||||
|
||||
Reference in New Issue
Block a user