From: Patrick McHardy <kaber@trash.net>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH RFC 0/2] nftables: fix time parsing
Date: Sat, 11 Apr 2015 15:00:28 +0100 [thread overview]
Message-ID: <1428760830-6135-1-git-send-email-kaber@trash.net> (raw)
These patches attempt to fix time parsing to not require quotation marks
around the time spec and loosen the checks so times can also be specified
in smaller units.
Some testing indicates it works fine, however I'd put them into a branch
for 4.1 since I mainly need this fixed for the set timeout support.
Patrick McHardy (2):
datatype: fix parsing of time type
datatype: less strict time parsing
src/datatype.c | 16 ----------------
src/scanner.l | 7 +++++++
2 files changed, 7 insertions(+), 16 deletions(-)
--
2.1.0
next reply other threads:[~2015-04-11 14:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-11 14:00 Patrick McHardy [this message]
2015-04-11 14:00 ` [PATCH 1/2] datatype: fix parsing of time type Patrick McHardy
2015-04-11 14:00 ` [PATCH 2/2] datatype: less strict time parsing Patrick McHardy
2015-04-11 16:52 ` [PATCH RFC 0/2] nftables: fix " Pablo Neira Ayuso
2015-04-11 17:25 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428760830-6135-1-git-send-email-kaber@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).