diff options
author | Pablo M. Bermudo Garay <pablombg@gmail.com> | 2016-05-20 14:55:12 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-20 20:09:39 +0200 |
commit | 4ca26afeef12c59128ffde8505207847037ce365 (patch) | |
tree | 5cbf7b4651ca8f07d40dba7c998f3c30dcdf002d /src/rule.c | |
parent | 59c58dbea5764c6154fdd4ea72d36433e2389a62 (diff) |
rule: add support for display flow tables content
This commit adds a new command that displays the definition of a single
flow table:
If no family is specified, ip is assumed.
Signed-off-by: Pablo M. Bermudo Garay <pablombg@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
-rw-r--r-- | src/rule.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1214,6 +1214,8 @@ static int do_command_list(struct netlink_ctx *ctx, struct cmd *cmd) return do_list_ruleset(ctx, cmd); case CMD_OBJ_FLOWTABLES: return do_list_sets(ctx, cmd); + case CMD_OBJ_FLOWTABLE: + return do_list_set(ctx, cmd, table); default: BUG("invalid command object type %u\n", cmd->obj); } |