Add built-in hosts
This commit is contained in:
1 parent
b95892d3b6
commit
bc5479fa96
8 files changed
+57
-6
No files matched your search
@@ -142,7 +142,7 @@ public class Hosts {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private static InetAddress toInetAddress(String host, String ip) {
|
||||
public static InetAddress toInetAddress(String host, String ip) {
|
||||
if (!isValidHost(host)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user