mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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
|
sub checkgroup
|
||||||
{
|
{
|
||||||
&General::readhasharray("$configsrvgrp", \%customservicegrp );
|
&General::readhasharray("$configgrp", \%customgrp );
|
||||||
my $name=shift;
|
my $name=shift;
|
||||||
foreach my $key (keys %customservicegrp) {
|
foreach my $key (keys %customservicegrp) {
|
||||||
if($customservicegrp{$key}[0] eq $name){
|
if($customservicegrp{$key}[0] eq $name){
|
||||||
|
|||||||
Reference in New Issue
Block a user