mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-04 19:02:20 +00:00
Fixed ip whitelisting
This commit is contained in:
@@ -15,7 +15,7 @@ import java.util.regex.Pattern;
|
||||
|
||||
public class MiscUtils {
|
||||
|
||||
private static final Pattern ipv4 = Pattern.compile("[1-9]{1,3}\\.[1-9]{1,3}\\.[1-9]{1,3}.[1-9]{1,3}");
|
||||
private static final Pattern ipv4 = Pattern.compile("[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}");
|
||||
|
||||
public static void close(Closeable... closeables) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user