remove (disfunctional) notifications from pacf

This commit is contained in:
Johanna Amann 2015-05-27 07:37:25 -07:00
parent f2be226a5a
commit ad2361b7ac
8 changed files with 7 additions and 173 deletions

View file

@ -60,28 +60,6 @@ function debug_remove_rule(p: PluginState, r: Rule) : bool
return T;
}
function debug_add_notification(p: PluginState, r: Notification) : bool
{
local s = fmt("add_notification: %s", r);
debug_log(p, s);
if ( do_something(p) )
{
event Pacf::notification_added(r, p);
return T;
}
return F;
}
function debug_remove_notification(p: PluginState, r: Notification) : bool
{
local s = fmt("remove_notification: %s", r);
debug_log(p, s);
return do_something(p);
}
function debug_transaction_begin(p: PluginState)
{
debug_log(p, "transaction_begin");
@ -99,8 +77,6 @@ global debug_plugin = Plugin(
$done = debug_done,
$add_rule = debug_add_rule,
$remove_rule = debug_remove_rule,
$add_notification = debug_add_notification,
$remove_notification = debug_remove_notification,
$transaction_begin = debug_transaction_begin,
$transaction_end = debug_transaction_end
);

View file

@ -390,8 +390,6 @@ global openflow_plugin = Plugin(
# $done = openflow_done,
$add_rule = openflow_add_rule,
$remove_rule = openflow_remove_rule
# $add_notification = openflow_add_notification,
# $remove_notification = openflow_remove_notification,
# $transaction_begin = openflow_transaction_begin,
# $transaction_end = openflow_transaction_end
);

View file

@ -102,10 +102,6 @@ global packetfilter_plugin = Plugin(
# $done = packetfilter_done,
$add_rule = packetfilter_add_rule,
$remove_rule = packetfilter_remove_rule
# $add_notification = packetfilter_add_notification,
# $remove_notification = packetfilter_remove_notification,
# $transaction_begin = packetfilter_transaction_begin,
# $transaction_end = packetfilter_transaction_end
);
function create_packetfilter() : PluginState