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:
Alexander Marx
2013-04-02 11:24:22 +02:00
committed by Michael Tremer
parent f7e649ddfb
commit e09884e04f
3 changed files with 59 additions and 38 deletions

View File

@@ -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;
}
}