mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix missing action in notice policy for looking up GeoIP data.
This commit is contained in:
parent
ae57cbe5fc
commit
86cba4c33f
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ export {
|
||||||
## Add a helper to the notice policy for looking up GeoIP data.
|
## Add a helper to the notice policy for looking up GeoIP data.
|
||||||
redef Notice::policy += {
|
redef Notice::policy += {
|
||||||
[$pred(n: Notice::Info) = { return (n$note in Notice::lookup_location_types); },
|
[$pred(n: Notice::Info) = { return (n$note in Notice::lookup_location_types); },
|
||||||
|
$action = ACTION_ADD_GEODATA,
|
||||||
$priority = 10],
|
$priority = 10],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue