From aabb9c46ac4cfdff3aad136dd2ed7cb2bb0f9293 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 20 Feb 2017 18:03:18 +0100 Subject: src: allow listing all ct helpers this implements nft list ct helpers table filter table ip filter { ct helper ftp-standard { .. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- src/rule.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rule.c') diff --git a/src/rule.c b/src/rule.c index 17c20f35..453aa2f2 100644 --- a/src/rule.c +++ b/src/rule.c @@ -1455,6 +1455,8 @@ static int do_command_list(struct netlink_ctx *ctx, struct cmd *cmd) case CMD_OBJ_QUOTA: case CMD_OBJ_QUOTAS: return do_list_obj(ctx, cmd, NFT_OBJECT_QUOTA); + case CMD_OBJ_CT_HELPERS: + return do_list_obj(ctx, cmd, NFT_OBJECT_CT_HELPER); default: BUG("invalid command object type %u\n", cmd->obj); } -- cgit v1.2.3