From: Alexander Marx Date: Wed, 25 Feb 2015 07:09:05 +0000 (+0100) Subject: BUG10753: Fix servicegroups to have only max. 15 services per protocol X-Git-Tag: v2.17-core89~53^2 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=85abeb137657736686d135eeaf4dc38f5a0d3a14 BUG10753: Fix servicegroups to have only max. 15 services per protocol --- diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index c3642f0f0e..f42947e8c7 100644 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -728,10 +728,10 @@ if ($fwhostsettings{'ACTION'} eq 'saveservicegrp') } } } - if ($tcpcounter > 15){ + if ($tcpcounter > 14){ $errormessage=$Lang::tr{'fwhost err maxservicetcp'}; } - if ($udpcounter > 15){ + if ($udpcounter > 14){ $errormessage=$Lang::tr{'fwhost err maxserviceudp'}; } $tcpcounter=0;