]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Use experimental smartmatch.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 12 May 2021 17:51:36 +0000 (19:51 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 8 Sep 2021 17:37:26 +0000 (19:37 +0200)
This will prevent from spawning the http error log with warnings.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index 4c295502394529db5b9d937e6e933f93eb542eb3..0c42b9f320fdf8c7c8494d3c51b5287a2f2c68e3 100644 (file)
@@ -20,6 +20,7 @@
 ###############################################################################
 
 use strict;
+use experimental 'smartmatch';
 
 # enable only the following on debugging purpose
 #use warnings;