From: Florian Westphal Date: Mon, 17 Sep 2012 00:23:09 +0000 (+0000) Subject: netfilter: xt_time: add support to ignore day transition X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~93^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54eb3df3a7d01b6cd395bdc1098280f2f93fbec5;p=pandora-kernel.git netfilter: xt_time: add support to ignore day transition Currently, if you want to do something like: "match Monday, starting 23:00, for two hours" You need two rules, one for Mon 23:00 to 0:00 and one for Tue 0:00-1:00. The rule: --weekdays Mo --timestart 23:00 --timestop 01:00 looks correct, but it will first match on monday from midnight to 1 a.m. and then again for another hour from 23:00 onwards. This permits userspace to explicitly ignore the day transition and match for a single, continuous time period instead. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed