mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Merge commit '4c8650f552
' into topic/policy-scripts-new
* commit '4c8650f552
':
The global NOTICE function is back.
This commit is contained in:
commit
7e67d7b5ce
1 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue