]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids-ports-helper-lib.pl: Make services array global accessible.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 29 Jul 2022 15:43:09 +0000 (17:43 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 4 Mar 2024 18:48:36 +0000 (19:48 +0100)
Otherwise the ids-functions.pl can not access this array.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-ports-helper-lib.pl

index eb740de40c9039cc67e547322421768970afa63d..ea4cc05d609fb49d2641c5891a6cd29f9c3626d4 100644 (file)
@@ -28,7 +28,7 @@ package IDS::Ports::Helper;
 require '/var/ipfire/general-functions.pl';
 
 # Array which contains the currently supported services.
-my @services = (
+our @services = (
        "tor",
 );