Add built-in hosts

This commit is contained in:
seven332 committed 2018-03-26 12:02:44 +08:00
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;
}