Pre Merge pull request !304 from wangfeiyu/dev20230222

pull/304/MERGE
wangfeiyu 3 years ago committed by Gitee
commit e4d6e6815b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -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;
} }

Loading…
Cancel
Save