mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-12 15:41:35 +02:00
Forward Firewall: some fixes:
1) Counter was not correctly decreased when deleting a network from a customgroup 2) Convert-outgoingfw improved 3) Backup didn't set filepermissions correctly
This commit is contained in:
committed by
Michael Tremer
parent
f7e649ddfb
commit
e09884e04f
@@ -863,7 +863,7 @@ if ($fwhostsettings{'ACTION'} eq 'deletegrphost')
|
||||
&General::readhasharray("$confignet", \%customnetwork);
|
||||
foreach my $key1 (keys %customnetwork){
|
||||
if ($customnetwork{$key1}[0] eq $customgrp{$key}[2]){
|
||||
$customnetwork{$key1}[3] = $customnetwork{$key1}[3]-1;
|
||||
$customnetwork{$key1}[4] = $customnetwork{$key1}[4]-1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user