Forward Firewall: bugfix: counter failure when adding one host to more than 1 Group

This commit is contained in:
Alexander Marx
2013-04-29 16:12:14 +02:00
committed by Michael Tremer
parent eff2dbf833
commit 04abd8d958

View File

@@ -669,7 +669,7 @@ if ($fwhostsettings{'ACTION'} eq 'savegrp')
}elsif($updcounter eq 'host'){
foreach my $key (keys %customhost) {
if ($customhost{$key}[0] eq $fwhostsettings{'CUST_SRC_HOST'}){
$customhost{$key}[4]=$customhost{$key}[3]+1;
$customhost{$key}[4]=$customhost{$key}[4]+1;
}
}
&General::writehasharray("$confighost", \%customhost);