From 75e470ac9afd266d016f24f9e0341df9467ffe04 Mon Sep 17 00:00:00 2001 From: Seth Hall Date: Thu, 27 Oct 2011 15:29:28 -0400 Subject: [PATCH] The control framework no longer sends functions with the configuration_update command. --- scripts/policy/frameworks/control/controller.bro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/policy/frameworks/control/controller.bro b/scripts/policy/frameworks/control/controller.bro index 6673fa2332..8d8e206206 100644 --- a/scripts/policy/frameworks/control/controller.bro +++ b/scripts/policy/frameworks/control/controller.bro @@ -65,7 +65,10 @@ function configuration_update_func(p: event_peer) # We don't want to update non-const globals because that's usually # where state is stored and those values will frequently be declared # with &redef so that attributes can be redefined. - if ( t$constant && t$redefinable ) + # + # NOTE: functions are currently having trouble with serialization and + # now aren't sent. + if ( t$constant && t$redefinable && t$type_name != "func" ) { send_id(p, id); ++cnt;