* [nft PATCH] parser: fix inconsistency in monitor options
@ 2014-05-14 15:24 Arturo Borrero Gonzalez
0 siblings, 0 replies; only message in thread
From: Arturo Borrero Gonzalez @ 2014-05-14 15:24 UTC (permalink / raw)
To: netfilter-devel
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);
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-14 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 15:24 [nft PATCH] parser: fix inconsistency in monitor options Arturo Borrero Gonzalez
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).