]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Firewall: fixes commit http://git.ipfire.org/?p=people/amarx/ipfire-2.x.git;a=commitd...
authorAlexander Marx <amarx@ipfire.org>
Tue, 26 Nov 2013 12:02:08 +0000 (13:02 +0100)
committerAlexander Marx <amarx@ipfire.org>
Thu, 5 Dec 2013 14:12:37 +0000 (15:12 +0100)
Conflicts:
html/cgi-bin/firewall.cgi

html/cgi-bin/firewall.cgi

index d2aa2172ee9b1f7fa36b5473175f196a3a8646b8..4199965eef1d29396c47bad49656c26d0851f4fc 100755 (executable)
@@ -1182,7 +1182,7 @@ END
        if ($show eq '1'){$show='';print"</select></td></tr>";}
        #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"<tr><td valign='top'><input type='radio' name='$grp' value='ipsec_net_$srctgt' $checked{$grp}{'ipsec_net_'.$srctgt}></td><td >$Lang::tr{'fwhost ipsec net'}</td><td align='right'><select name='ipsec_net_$srctgt' style='width:200px;'>" if ($show eq '');
                        $show='1';
                        print "<option ";