diff --git a/internal/firewalls/ddos_protection.go b/internal/firewalls/ddos_protection.go index 118c3fa..203c7c7 100644 --- a/internal/firewalls/ddos_protection.go +++ b/internal/firewalls/ddos_protection.go @@ -70,7 +70,7 @@ func (this *DDoSProtectionManager) Apply(config *ddosconfigs.ProtectionConfig) e nodeConfig, _ := nodeconfigs.SharedNodeConfig() if nodeConfig != nil { var allowIPList = nodeConfig.AllowedIPs - if !utils.ContainsSameStrings(allowIPList, this.lastAllowIPList) { + if !utils.EqualStrings(allowIPList, this.lastAllowIPList) { allowIPListChanged = true this.lastAllowIPList = allowIPList }