The keyword for monitoring chains events is 'chains'. For rules, 'rules'. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx> --- 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); } -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html