From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] ids-functions.pl: Quote array of subnets Date: Wed, 20 May 2020 12:29:48 +0000 Message-ID: <20200520122948.11071-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2047186796631554826==" List-Id: --===============2047186796631554826== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Reported-by: Daniel Weismüller Signed-off-by: Michael Tremer --- 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 e33569849..d45e1c70a 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.20.1 --===============2047186796631554826==--