From: Michael Tremer Date: Sun, 12 Aug 2012 18:45:21 +0000 (+0200) Subject: outgoingfw: Remove unused variable in generator script. X-Git-Tag: v2.11-core62^2~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e2bce180421f90ab45ed71d00d2bbf902c407ee;p=ipfire-2.x.git outgoingfw: Remove unused variable in generator script. --- diff --git a/config/outgoingfw/outgoingfw.pl b/config/outgoingfw/outgoingfw.pl index c4813e9df1..8bb49e0bd3 100644 --- a/config/outgoingfw/outgoingfw.pl +++ b/config/outgoingfw/outgoingfw.pl @@ -73,7 +73,6 @@ my $PROTO = ""; my $DPORT = ""; my $DEV = ""; my $MAC = ""; -my $POLICY = ""; my $DO = ""; my $DAY = ""; @@ -90,11 +89,9 @@ close FILE; if ( $outfwsettings{'POLICY'} eq 'MODE1' ) { $outfwsettings{'STATE'} = "ALLOW"; - $POLICY = "DROP"; $DO = "RETURN"; } elsif ( $outfwsettings{'POLICY'} eq 'MODE2' ) { $outfwsettings{'STATE'} = "DENY"; - $POLICY = "RETURN"; $DO = "DROP -m comment --comment 'DROP_OUTGOINGFW '"; }