mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-04 22:55:48 +08:00
优化IP黑名单检测
This commit is contained in:
@@ -125,7 +125,7 @@ func (this *IPList) RecordIP(ipType string,
|
||||
}
|
||||
|
||||
// 使用本地防火墙
|
||||
if useLocalFirewall && expiresAt > 0 {
|
||||
if useLocalFirewall {
|
||||
firewalls.DropTemporaryTo(ip, expiresAt)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user