diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-05-20 20:23:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-06-02 14:06:06 +0200 |
commit | 6e15bdda54e4521be5efab4e00e141a612d6e064 (patch) | |
tree | 141b529f2b8d8928122f6e67ce30f3e9e20ad98f /tests/shell | |
parent | d35e789cdae6e7ac622c40e50558901f45e2d53c (diff) |
src: allow flowtable definitions with no devices
The listing shows no devices:
# nft list ruleset
table ip x {
flowtable y {
hook ingress priority filter
}
}
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell')
-rwxr-xr-x | tests/shell/testcases/flowtable/0006segfault_0 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/shell/testcases/flowtable/0006segfault_0 b/tests/shell/testcases/flowtable/0006segfault_0 index de590b77..fb7c52fe 100755 --- a/tests/shell/testcases/flowtable/0006segfault_0 +++ b/tests/shell/testcases/flowtable/0006segfault_0 @@ -9,6 +9,3 @@ $NFT add flowtable ip t f { hook ingress priority 10\; devices = { lo } } $NFT add flowtable ip t f { hook ingress\; priority 10\; } [[ $? -eq 1 ]] || exit 1 - -$NFT add flowtable ip t f { hook ingress priority 10\; } -[[ $? -eq 1 ]] || exit 1 |