Forward Firewall: Fix ruletimes. Now the timevalues which are entered in the gui...
authorAlexander Marx <amarx@ipfire.org>
Fri, 8 Mar 2013 07:38:41 +0000 (08:38 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:11:55 +0000 (14:11 +0200)
commit472136c9271f162ab65b224225fe3e478a77ccb4
treeac71600a92a5f43853227dd4ac754a297f1ad38c
parentef6f983b1724f9b3ac4d5d4f5ba45288985c44fc
Forward Firewall: Fix ruletimes. Now the timevalues which are entered in the gui are saved to the rulefile.
Wenn rule.pl is called, the script calculates the difference to UTC time and sets the iptables times accordingly.

With this approach there's no need to save if the times are created in summertime or wintertime.
config/forwardfw/rules.pl
html/cgi-bin/forwardfw.cgi