This should be NFTA_LIST_UNSPEC instead of NFTA_LIST_UNPEC, all other similar attribute definitions are postfixed with _UNSPEC.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -133,7 +133,7 @@ enum nf_tables_msg_types { · 132 unmodified lines | |||
| 133 | * @NFTA_LIST_ELEM: list element (NLA_NESTED) | 133 | * @NFTA_LIST_ELEM: list element (NLA_NESTED) |
| 134 | */ | 134 | */ |
| 135 | enum nft_list_attributes { | 135 | enum nft_list_attributes { |
| 136 | NFTA_LIST_UNPEC, | 136 | NFTA_LIST_UNSPEC, |
| 137 | NFTA_LIST_ELEM, | 137 | NFTA_LIST_ELEM, |
| 138 | __NFTA_LIST_MAX | 138 | __NFTA_LIST_MAX |
| 139 | }; | 139 | }; |