diff options
author | Florian Westphal <fw@strlen.de> | 2012-09-17 00:23:09 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-09-24 12:29:01 (GMT) |
commit | 54eb3df3a7d01b6cd395bdc1098280f2f93fbec5 (patch) | |
tree | 04a496fedd3b312e9f754e8636a75d6be2da2e52 /scripts/dtc | |
parent | 3e0304a583d72c747caa8afac76b8d514aa293f5 (diff) | |
download | linux-fsl-qoriq-54eb3df3a7d01b6cd395bdc1098280f2f93fbec5.tar.xz |
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 <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions