Pre Merge pull request !304 from wangfeiyu/dev20230222

This commit is contained in:
wangfeiyu 2023-02-22 00:59:43 +00:00 committed by Gitee
commit e4d6e6815b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

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