diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-30 17:17:12 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-10-12 20:34:22 +0200 |
commit | 8f297010fc9bd2fd110378538142e5082b438369 (patch) | |
tree | 98272b7109a52a8afb265b13c540cdc25382569f /src/expression.c | |
parent | c9737a3ace1739ca447bf904c78434f4de0c2890 (diff) |
rule: `list sets' only displays declaration, not definition
# nft list sets
table ip nat {
set libssh {
type ipv4_addr
}
}
table inet filter {
set set0 {
type inet_service
flags constant
}
set set1 {
type inet_service
flags constant
}
set set2 {
type icmpv6_type
flags constant
}
}
So in case you want to inspect the definition, you have to use `list set'
and the specific set that you want to inspect:
# nft list set inet filter set0
table inet filter {
set set0 {
type inet_service
flags constant
elements = { 2200, ssh}
}
}
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Diffstat (limited to 'src/expression.c')
0 files changed, 0 insertions, 0 deletions