diff --git a/policy/notice.bro b/policy/notice.bro index e02c699b26..f6d1f921b2 100644 --- a/policy/notice.bro +++ b/policy/notice.bro @@ -97,7 +97,7 @@ export { # These are implemented below global email_notice_to: function(n: Notice::Info, dest: string) &redef; - global NOTICE: function(n: Notice::Info); + global notice: function(n: Notice::Info); } @@ -280,3 +280,11 @@ function NOTICE(n: Notice::Info) @load notice-action-filters + +module GLOBAL; + +## This is the wrapper in the global namespace for the Notice::notice function. +function NOTICE(n: Notice::Info) + { + Notice::notice(n); + } \ No newline at end of file