]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: features: Fix table owner flag check
authorPhil Sutter <phil@nwl.cc>
Tue, 26 Sep 2023 19:53:33 +0000 (21:53 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 26 Sep 2023 19:57:37 +0000 (21:57 +0200)
The keyword is "flags", not "flag". Resulted in a false-negative:

features/table_flag_owner.nft:4:2-5: Error: syntax error, unexpected string
flag owner;
^^^^

Fixes: 10373f0936cd3 ("tests: shell: skip flowtable-uaf if we lack table owner support")
Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/shell/features/table_flag_owner.nft

index 6e6f608a7e94083286271e534e0d38df19728a10..aef122a0724bfe5b6d307a6e097818f54ebaafe7 100644 (file)
@@ -1,5 +1,5 @@
 # 6001a930ce03 ("netfilter: nftables: introduce table ownership")
 # v5.12-rc1~200^2~6^2
 table t {
-       flag owner;
+       flags owner;
 }