summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-08-20 14:12:55 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-08-21 19:00:33 +0200
commitda9125df854ea48a6240c66e8a67be06e2c12c03 (patch)
tree987f53f648bff4370e5525d65e50c2ec807fbf92
parent6f03bf43ee05b31d3822def2a80f11b3591c55b3 (diff)
downloadlinux-stable-da9125df854ea48a6240c66e8a67be06e2c12c03.tar.gz
linux-stable-da9125df854ea48a6240c66e8a67be06e2c12c03.tar.bz2
linux-stable-da9125df854ea48a6240c66e8a67be06e2c12c03.zip
netfilter: nf_tables: incorrect enum nft_list_attributes definition
This should be NFTA_LIST_UNSPEC instead of NFTA_LIST_UNPEC, all other similar attribute definitions are postfixed with _UNSPEC. Fixes: 96518518cc41 ("netfilter: add nftables") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--include/uapi/linux/netfilter/nf_tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h
index 42f351c1f5c5..2b8e12f7a4a6 100644
--- a/include/uapi/linux/netfilter/nf_tables.h
+++ b/include/uapi/linux/netfilter/nf_tables.h
@@ -133,7 +133,7 @@ enum nf_tables_msg_types {
* @NFTA_LIST_ELEM: list element (NLA_NESTED)
*/
enum nft_list_attributes {
- NFTA_LIST_UNPEC,
+ NFTA_LIST_UNSPEC,
NFTA_LIST_ELEM,
__NFTA_LIST_MAX
};