From: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: [nft PATCH] parser: fix inconsistency in monitor options
Date: Wed, 14 May 2014 17:24:29 +0200 [thread overview]
Message-ID: <20140514152429.24350.45632.stgit@nfdev.cica.es> (raw)
The keyword for monitoring chains events is 'chains'. For rules, 'rules'.
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
src/parser.y | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/parser.y b/src/parser.y
index 9c20737..b9916db 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -810,7 +810,7 @@ monitor_flags : /* empty */
}
| NEW TABLES { $$ |= (1 << NFT_MSG_NEWTABLE); }
| DESTROY TABLES { $$ |= (1 << NFT_MSG_DELTABLE); }
- | CHAIN
+ | CHAINS
{
$$ |= (1 << NFT_MSG_NEWCHAIN); $$ |= (1 << NFT_MSG_DELCHAIN);
}
@@ -822,7 +822,7 @@ monitor_flags : /* empty */
}
| NEW SETS { $$ |= (1 << NFT_MSG_NEWSET); }
| DESTROY SETS { $$ |= (1 << NFT_MSG_DELSET); }
- | RULE
+ | RULES
{
$$ |= (1 << NFT_MSG_NEWRULE); $$ |= (1 << NFT_MSG_DELRULE);
}
reply other threads:[~2014-05-14 15:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20140514152429.24350.45632.stgit@nfdev.cica.es \
--to=arturo.borrero.glez@gmail.com \
--cc=netfilter-devel@vger.kernel.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).