From ee132b6da446f7129c47c9b90797d8a0d1254115 Mon Sep 17 00:00:00 2001 From: Johanna Amann Date: Thu, 24 Mar 2016 15:21:36 -0700 Subject: [PATCH] NetControl: fix acld whitelist command --- scripts/base/frameworks/netcontrol/plugins/acld.bro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )