mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
outgoingfw: Remove unused variable in generator script.
This commit is contained in:
@@ -73,7 +73,6 @@ my $PROTO = "";
|
|||||||
my $DPORT = "";
|
my $DPORT = "";
|
||||||
my $DEV = "";
|
my $DEV = "";
|
||||||
my $MAC = "";
|
my $MAC = "";
|
||||||
my $POLICY = "";
|
|
||||||
my $DO = "";
|
my $DO = "";
|
||||||
my $DAY = "";
|
my $DAY = "";
|
||||||
|
|
||||||
@@ -90,11 +89,9 @@ close FILE;
|
|||||||
|
|
||||||
if ( $outfwsettings{'POLICY'} eq 'MODE1' ) {
|
if ( $outfwsettings{'POLICY'} eq 'MODE1' ) {
|
||||||
$outfwsettings{'STATE'} = "ALLOW";
|
$outfwsettings{'STATE'} = "ALLOW";
|
||||||
$POLICY = "DROP";
|
|
||||||
$DO = "RETURN";
|
$DO = "RETURN";
|
||||||
} elsif ( $outfwsettings{'POLICY'} eq 'MODE2' ) {
|
} elsif ( $outfwsettings{'POLICY'} eq 'MODE2' ) {
|
||||||
$outfwsettings{'STATE'} = "DENY";
|
$outfwsettings{'STATE'} = "DENY";
|
||||||
$POLICY = "RETURN";
|
|
||||||
$DO = "DROP -m comment --comment 'DROP_OUTGOINGFW '";
|
$DO = "DROP -m comment --comment 'DROP_OUTGOINGFW '";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user