mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 11:05:54 +02:00
Forward Firewall: outgoing converter is now ble to set default policy correctly
This commit is contained in:
committed by
Michael Tremer
parent
c178bf21c1
commit
046d88c2d0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user