From c88c2325def5f136e8e0cacdea887d7781662f30 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Fri, 28 Jul 2017 10:52:09 +0530 Subject: src: nft monitor ruleset This patch adds event reporting for ruleset, which prints only ruleset events. Syntax : nft monitor ruleset Signed-off-by: Varsha Rao Signed-off-by: Pablo Neira Ayuso --- src/parser_bison.y | 1 + 1 file changed, 1 insertion(+) (limited to 'src/parser_bison.y') diff --git a/src/parser_bison.y b/src/parser_bison.y index 45b1dc9f..86baf23a 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -1195,6 +1195,7 @@ monitor_object : /* empty */ { $$ = CMD_MONITOR_OBJ_ANY; } | SETS { $$ = CMD_MONITOR_OBJ_SETS; } | RULES { $$ = CMD_MONITOR_OBJ_RULES; } | ELEMENTS { $$ = CMD_MONITOR_OBJ_ELEMS; } + | RULESET { $$ = CMD_MONITOR_OBJ_RULESET; } ; monitor_format : /* empty */ { $$ = NFTNL_OUTPUT_DEFAULT; } -- cgit v1.2.3