diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2016-01-04 13:18:26 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-05 12:40:54 +0100 |
commit | df5e71ba390dc574c50f0977f741d56cbc137034 (patch) | |
tree | 703d09f99a2cadb5b07f1a6f36213a06463e040b /tests/py/ip6/snat.t | |
parent | 399d11797bd2c2d5e8f793081cd81832fe872889 (diff) |
rule: don't list anonymous sets
Don't list anonymous sets when listing all sets.
For example, using this ruleset:
==== 8< ====
table inet test {
set set1 {
type ipv4_addr
}
chain test {
tcp dport { 80 } accept
}
}
==== 8< ====
Before this patch:
% nft list sets
table inet test {
set set0 {
type inet_service
flags constant
}
set set1 {
type ipv4_addr
}
}
After this patch:
% nft list sets
table inet test {
set set1 {
type ipv4_addr
}
}
Fixes: 8f297010 ("rule: `list sets' only displays declaration, not definition")
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip6/snat.t')
0 files changed, 0 insertions, 0 deletions