mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Firewall: Bugfix - when creating a new hostgroup, the system checked for existing name in servicegroups instead of hostgroups
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user