mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2026-11-28 23:50:34 +00:00
fix(dn42): fill Owner field from IPWhois instead of Whois
So that it could be displayed correctly
This commit is contained in:
1 parent
01d1cbf484
commit
7749dd3fcd
1 file changed
+1
-1
+1
-1
@@ -31,7 +31,7 @@ func DN42(ip string, _ time.Duration, _ string, _ bool) (*IPGeoData, error) {
|
||||
data.Country = geo.LtdCode
|
||||
data.City = geo.City
|
||||
data.Asnumber = geo.ASN
|
||||
data.Whois = geo.IPWhois
|
||||
data.Owner = geo.IPWhois
|
||||
}
|
||||
// 如果没找到,查找 PTR
|
||||
if len(ipTmp) > 1 {
|
||||
|
||||
Reference in new issue
Block a user