From: Stefan Schantl Date: Wed, 3 Feb 2016 07:54:52 +0000 (+0100) Subject: Allow export of the GenerateIgnoreList() function. X-Git-Tag: 2.0~38 X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fguardian.git;a=commitdiff_plain;h=7c8f06961cbc4b1bb7e0bfd2b758c32841f692c2;hp=730c1d034a641b716b362d95a04e670c828e8652 Allow export of the GenerateIgnoreList() function. Signed-off-by: Stefan Schantl --- 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;