]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/firewall/firewall-lib.pl
Firewall: Added new feature: Now protocols can be added to servicegroups (GRE,AH...
[people/pmueller/ipfire-2.x.git] / config / firewall / firewall-lib.pl
index 8cff76bb53ac42965988b5a26b43cbc399d7d036..fc80555079a5d93b7234d9c072599b90c994f1ad 100755 (executable)
@@ -90,7 +90,10 @@ sub get_srvgrp_prot
                                $udp=1;
                        }elsif(&get_srv_prot($customservicegrp{$key}[2]) eq 'ICMP'){
                                $icmp=1;
-                       } 
+                       }else{
+                               #Protocols used in servicegroups
+                               push (@ips,$customservicegrp{$key}[2]);
+                       }
                }
        }
        if ($tcp eq '1'){push (@ips,'TCP');}