Refactoring

This commit is contained in:
M66B
2024-01-05 15:27:03 +01:00
parent 93f81499cf
commit bfc1900b90
7 changed files with 28 additions and 20 deletions

View File

@@ -61,7 +61,7 @@ public class IPInfo {
Log.i(ex);
}
InetAddress address = InetAddress.getByName(host);
InetAddress address = DnsHelper.getByName(context, host);
return new Pair<>(address, getOrganization(address, context));
}