]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/commitdiff
BUG10753: Fix servicegroups to have only max. 15 services per protocol
authorAlexander Marx <alexander.marx@ipfire.org>
Wed, 25 Feb 2015 07:09:05 +0000 (08:09 +0100)
committerAlexander Marx <alexander.marx@ipfire.org>
Wed, 25 Feb 2015 07:09:05 +0000 (08:09 +0100)
html/cgi-bin/fwhosts.cgi

index c3642f0f0e9ca7838d9b8b766df55e3c3197b1c1..f42947e8c7e99d056375fbd8165801ea9c68db44 100644 (file)
@@ -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;