]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
outgoingfw: Remove unused variable in generator script.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Aug 2012 18:45:21 +0000 (20:45 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Aug 2012 18:45:21 +0000 (20:45 +0200)
config/outgoingfw/outgoingfw.pl

index c4813e9df17a724d9d42ba8d91671755ff0d2177..8bb49e0bd3fd2d9d789d729a68b78aaeda5b4ff5 100644 (file)
@@ -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 '";
 }