parser: fix inconsistency in monitor options
PATCH 1/1 parser: fix inconsistency in monitor options
The keyword for monitoring chains events is 'chains'. For rules, 'rules'.
Signed-off-by Arturo Borrero Gonzalez <[email protected]>
--- src/parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
src/parser.y +2 -2
@@ -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); }