From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH 2/4] BUG11559: firewall.cgi Date: Mon, 07 May 2018 18:23:37 +0200 Message-ID: <60bc4f21-0549-3efd-fdaf-be83e1d9922c@link38.eu> In-Reply-To: <1525260427-6695-2-git-send-email-alexander.marx@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6889965385468278071==" List-Id: --===============6889965385468278071== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable When creating firewallrules or using firewall groups, it should be possible to select a single IpSec subnet if there is more than o= ne. This patch has the changes for firewall.cgi Signed-off-by: Alexander Marx Tested-by: Peter M=C3=BCller --- html/cgi-bin/firewall.cgi | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index face0f4..499f279 100644 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -1161,11 +1161,31 @@ END #IPsec netze foreach my $key (sort { ncmp($ipsecconf{$a}[1],$ipsecconf{$b}[1]) } keys %i= psecconf) { if ($ipsecconf{$key}[3] eq 'net' || ($optionsfw{'SHOWDROPDOWN'} eq 'on' &&= $ipsecconf{$key}[3] ne 'host')){ - print"$Lang::tr{= 'fwhost ipsec net'}$Lang::tr{'fwhost ipsec net'}