From 7c8f06961cbc4b1bb7e0bfd2b758c32841f692c2 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Wed, 3 Feb 2016 08:54:52 +0100 Subject: [PATCH] Allow export of the GenerateIgnoreList() function. Signed-off-by: Stefan Schantl --- modules/Events.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/Events.pm b/modules/Events.pm index fa3be24..8f04f3d 100644 --- a/modules/Events.pm +++ b/modules/Events.pm @@ -4,7 +4,7 @@ use warnings; use Exporter qw(import); -our @EXPORT_OK = qw(Init CheckAction Update); +our @EXPORT_OK = qw(Init CheckAction GenerateIgnoreList Update); # Hash which stores all supported commands from the queue. my %commands = ( @@ -339,7 +339,8 @@ sub GenerateIgnoreList($) { # ## Private function to check if an address is part of the Ignore Hash. # -## This function requires +## This function checks if a passed IP address in binary format (!), +## directly or as part of an ignored network is stored in the ignore hash. # sub _IsOnIgnoreList ($) { my $bin_address = shift; -- 2.39.2