Forward Firewall: outgoing converter is now ble to set default policy correctly

This commit is contained in:
Alexander Marx
2013-02-19 06:48:00 +01:00
committed by Michael Tremer
parent c178bf21c1
commit 046d88c2d0

View File

@@ -248,8 +248,8 @@ sub process_rules
{
&General::readhash($fwdfwsettings,\%fwdsettings);
if($fwdsettings{'POLICY'} ne $outsettings{'POLICY'}){
if ($outsettings{'POLICY'} eq 'MODE0'){$outsettings{'POLICY'}='MODE2';}
$fwdsettings{'POLICY'}=$outsettings{'POLICY'};
$fwdsettings{'POLICY1'}='MODE2';
&General::writehash($fwdfwsettings,\%fwdsettings);
}
#open LOG