Forward Firewall: added --kerneltz option to timeframe
authorAlexander Marx <amarx@ipfire.org>
Tue, 5 Mar 2013 08:47:21 +0000 (09:47 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:11:54 +0000 (14:11 +0200)
config/forwardfw/rules.pl
html/cgi-bin/forwardfw.cgi

index d4006846d589dcf99bd1994c051df0e7d38228e5..6532a201f4743dd7a1b63c4bc4d5eed82d4de422 100755 (executable)
@@ -210,7 +210,7 @@ sub buildrules
                                $TIME=join(",",@timeframe);
                                $TIMEFROM="--timestart $$hash{$key}[26] ";
                                $TIMETILL="--timestop $$hash{$key}[27] ";
-                               $TIME="-m time --weekdays $TIME $TIMEFROM $TIMETILL";
+                               $TIME="-m time --kerneltz --weekdays $TIME $TIMEFROM $TIMETILL";
                        }
                        if ($MODE eq '1'){      
                                print "NR:$key ";
index a12f1a82e617727bdb6ee9113d5c1b42e9eb184b..24dbe293d3b8eca48aee0a89a2c66ff999ad1076 100755 (executable)
@@ -74,7 +74,7 @@ my %ipsecsettings=();
 my %aliases=();
 my %optionsfw=();
 
-my $VERSION='0.9.8.0';
+my $VERSION='0.9.8.1';
 my $color;
 my $confignet          = "${General::swroot}/fwhosts/customnetworks";
 my $confighost         = "${General::swroot}/fwhosts/customhosts";