Fix missing action in notice policy for looking up GeoIP data.

This commit is contained in:
Jon Siwek 2011-12-13 16:17:44 -06:00
parent ae57cbe5fc
commit 86cba4c33f

View file

@ -31,6 +31,7 @@ export {
## Add a helper to the notice policy for looking up GeoIP data.
redef Notice::policy += {
[$pred(n: Notice::Info) = { return (n$note in Notice::lookup_location_types); },
$action = ACTION_ADD_GEODATA,
$priority = 10],
};
}