From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Marx To: development@lists.ipfire.org Subject: [PATCH 2/4] BUG11559: firewall.cgi Date: Wed, 02 May 2018 13:27:05 +0200 Message-ID: <1525260427-6695-2-git-send-email-alexander.marx@ipfire.org> In-Reply-To: <1525260427-6695-1-git-send-email-alexander.marx@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1249443297519616135==" List-Id: --===============1249443297519616135== 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 --- 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'}