diff --git a/scripts/base/frameworks/netcontrol/plugins/acld.bro b/scripts/base/frameworks/netcontrol/plugins/acld.bro index 6343bad335..4f2ec0857b 100644 --- a/scripts/base/frameworks/netcontrol/plugins/acld.bro +++ b/scripts/base/frameworks/netcontrol/plugins/acld.bro @@ -75,7 +75,7 @@ global netcontrol_acld_current_id: count = 0; const acld_add_to_remove: table[string] of string = { ["drop"] = "restore", - ["whitelist"] = "remwhitelist", + ["addwhitelist"] = "remwhitelist", ["blockhosthost"] = "restorehosthost", ["droptcpport"] = "restoretcpport", ["dropudpport"] = "restoreudpport", @@ -167,7 +167,7 @@ function rule_to_acl_rule(p: PluginState, r: Rule) : AclRule if ( r$ty == DROP ) command = "drop"; else if ( r$ty == WHITELIST ) - command = "whitelist"; + command = "addwhitelist"; arg = cat(e$ip); } else if ( e$ty == FLOW )