mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2026-12-06 03:07:48 +00:00
remove: 过于具体的地区信息,此类信息往往精准度有待考察
This commit is contained in:
1 parent
0b09addd17
commit
494f2ac819
1 file changed
-3
@@ -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