|
@ -357,7 +357,7 @@ public class IpUtils |
|
|
*/ |
|
|
*/ |
|
|
public static boolean isMatchedIp(String filter, String ip) |
|
|
public static boolean isMatchedIp(String filter, String ip) |
|
|
{ |
|
|
{ |
|
|
if (StringUtils.isEmpty(filter) && StringUtils.isEmpty(ip)) |
|
|
if (StringUtils.isEmpty(filter) || StringUtils.isEmpty(ip)) |
|
|
{ |
|
|
{ |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|