Firewall: Bugfix - when creating a new hostgroup, the system checked for existing name in servicegroups instead of hostgroups

This commit is contained in:
Alexander Marx
2014-03-04 14:40:59 +01:00
parent 7429ee78b6
commit 40962f9760

View File

@@ -2014,7 +2014,7 @@ sub checkname
}
sub checkgroup
{
&General::readhasharray("$configsrvgrp", \%customservicegrp );
&General::readhasharray("$configgrp", \%customgrp );
my $name=shift;
foreach my $key (keys %customservicegrp) {
if($customservicegrp{$key}[0] eq $name){