From 4e2bce180421f90ab45ed71d00d2bbf902c407ee Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 12 Aug 2012 20:45:21 +0200 Subject: [PATCH] outgoingfw: Remove unused variable in generator script. --- config/outgoingfw/outgoingfw.pl | 3 --- 1 file changed, 3 deletions(-) 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 '"; } -- 2.39.5