diff options
author | Florian Westphal <fw@strlen.de> | 2012-09-17 00:23:08 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-09-30 14:54:26 +0200 |
commit | 8d8896a3833292d091ee5a028f3461083bb956bd (patch) | |
tree | f0c40fa2e90052092773c6afa9ede957ad0dbb7d /extensions/libip6t_MASQUERADE.c | |
parent | 1871796877956ee68a39092c6fc3678e5a9d1d88 (diff) |
libxt_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 'extensions/libip6t_MASQUERADE.c')
0 files changed, 0 insertions, 0 deletions