fix(dn42): fill Owner field from IPWhois instead of Whois

So that it could be displayed correctly
This commit is contained in:
PukNgae Cryolitia authored and GitHub committed 2025-10-20 01:34:17 +08:00
1 parent 01d1cbf484
commit 7749dd3fcd
1 file changed
+1 -1
+1 -1
View File
@@ -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 {