fix
This commit is contained in:
@@ -42,8 +42,8 @@ public class HttpMatchBrowserHost extends Thread {
|
||||
Enumeration<NetworkInterface> e = NetworkInterface.getNetworkInterfaces();
|
||||
boolean matches = false;
|
||||
String ip = "";
|
||||
Pattern localIpPattern = Pattern.compile("192\\.168\\..*");
|
||||
Pattern ipPattern = Pattern.compile("[0-9]{0,3}\\.[0-9]{0,3}\\.[0-9]{0,3}\\.[0-9]{0,3}");
|
||||
Pattern localIpPattern = Pattern.compile("192\\.168\\.1\\..*");
|
||||
Pattern ipPattern = Pattern.compile("192\\.168\\..{0,3}\\..*");
|
||||
while(e.hasMoreElements())
|
||||
{
|
||||
if (matches){
|
||||
|
||||
Reference in New Issue
Block a user