mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-09 12:00:26 +08:00
修复一处编译错误
This commit is contained in:
@@ -70,7 +70,7 @@ func (this *DDoSProtectionManager) Apply(config *ddosconfigs.ProtectionConfig) e
|
|||||||
nodeConfig, _ := nodeconfigs.SharedNodeConfig()
|
nodeConfig, _ := nodeconfigs.SharedNodeConfig()
|
||||||
if nodeConfig != nil {
|
if nodeConfig != nil {
|
||||||
var allowIPList = nodeConfig.AllowedIPs
|
var allowIPList = nodeConfig.AllowedIPs
|
||||||
if !utils.ContainsSameStrings(allowIPList, this.lastAllowIPList) {
|
if !utils.EqualStrings(allowIPList, this.lastAllowIPList) {
|
||||||
allowIPListChanged = true
|
allowIPListChanged = true
|
||||||
this.lastAllowIPList = allowIPList
|
this.lastAllowIPList = allowIPList
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user