]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids-functions.pl: Fix typo.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 28 Mar 2021 10:49:56 +0000 (12:49 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Dec 2021 12:22:59 +0000 (13:22 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index f9bf07af3939dcc6deec438058067b91736481ee..359d7d4bd189a3e0a778fcc38e845cfa38bc8350 100644 (file)
@@ -483,7 +483,7 @@ sub extractruleset ($) {
 
                        # Check if the last element of the filename does not
                        # contain the providers name.
-                       if (@filename[-1] ne "$provider") {
+                       if ($filename[-1] ne "$provider") {
                                # Add provider name as last element.
                                push(@filename, $provider);
                        }