From: Alexander Marx Date: Tue, 26 Nov 2013 12:02:08 +0000 (+0100) Subject: Firewall: fixes commit http://git.ipfire.org/?p=people/amarx/ipfire-2.x.git;a=commitd... X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=5558ca2a9614c8d4393dc9287e4c0e7f7f014a95 Firewall: fixes commit http://git.ipfire.org/?p=people/amarx/ipfire-2.x.git;a=commitdiff;h=1ed4b214d785ad0538b0a864f43babccd55475b1 Conflicts: html/cgi-bin/firewall.cgi --- diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index d2aa2172e..4199965ee 100755 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -1182,7 +1182,7 @@ END if ($show eq '1'){$show='';print"";} #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'){ + if ($ipsecconf{$key}[3] eq 'net' || ($optionsfw{'SHOWDROPDOWN'} eq 'on' && $ipsecconf{$key}[3] ne 'host')){ print"$Lang::tr{'fwhost ipsec net'}