From 7479c993490ea57fb35a80523577309e36b63f90 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 20 May 2020 12:29:48 +0000 Subject: [PATCH] ids-functions.pl: Quote array of subnets MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: Daniel Weismüller Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- config/cfgroot/ids-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index e335698499..d45e1c70a6 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -677,7 +677,7 @@ sub generate_home_net_file() { } # Format home net declaration. - my $line = "[" . join(',', @networks) . "]"; + my $line = "\"[" . join(',', @networks) . "]\""; # Open file to store the addresses of the home net. open(FILE, ">$homenet_file") or die "Could not open $homenet_file. $!\n"; -- 2.39.5