From: Alexander Marx Date: Wed, 2 May 2018 11:27:05 +0000 (+0200) Subject: BUG11559: firewall.cgi X-Git-Tag: v2.21-core122~158 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93a017cbcffafaa63b64e3ff51e8d6c37dce3d5b;p=ipfire-2.x.git BUG11559: firewall.cgi When creating firewallrules or using firewall groups, it should be possible to select a single IpSec subnet if there is more than one. This patch has the changes for firewall.cgi Signed-off-by: Alexander Marx Tested-by: Peter Müller Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index face0f4609..499f279d1f 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 %ipsecconf) { 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'}