mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 14:03:00 +02:00
Forward Firewall: bugfix: counter failure when adding one host to more than 1 Group
This commit is contained in:
committed by
Michael Tremer
parent
eff2dbf833
commit
04abd8d958
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user