/src/main/java/org/htmlunit/ProxyAutoConfig.java
final SubnetUtils subnetUtils = new SubnetUtils( pattern) ;
final SubnetUtils subnetUtils = new SubnetUtils ( pattern, mask ) ;
} public static boolean isInNet(final String host, final String pattern, final String mask) { final String dnsResolve = dnsResolve(host); if (null == dnsResolve) { return false; } <extra_id_0> return subnetUtils.getInfo().isInRange(dnsResolve); } public static String dnsResolve(final String host) { try { return InetAddress.getByName(host).getHostAddress(); }