]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/forwardfw.cgi
Firewall: Bugfix: WHen using servicegroup with only ICMP services, the ruletable...
[people/teissler/ipfire-2.x.git] / html / cgi-bin / forwardfw.cgi
index c16fd0ade785a7dcc244faae05f937f20ab7a7f9..4c70a2503d30a71af81f5256e8eb7bf3043dcc21 100755 (executable)
@@ -2254,7 +2254,7 @@ END
                                push (@protocols,$Lang::tr{'all'});
                        }
                        my $protz=join(",",@protocols);
-                       if($protz eq 'ICMP' && $$hash{$key}[9] ne 'All ICMP-Types'){
+                       if($protz eq 'ICMP' && $$hash{$key}[9] ne 'All ICMP-Types' && $$hash{$key}[14] ne 'cust_srvgrp'){
                                &General::readhasharray("${General::swroot}/fwhosts/icmp-types", \%icmptypes);
                                foreach my $keyicmp (sort { ncmp($icmptypes{$a}[0],$icmptypes{$b}[0]) }keys %icmptypes){
                                        if($$hash{$key}[9] eq "$icmptypes{$keyicmp}[0]"){