diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2013-12-07 20:27:46 +0900 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2013-12-07 12:53:46 +0100 |
commit | 8b0c82d8bd01347874dcc9a493129082424a3649 (patch) | |
tree | c6f3f396a234738a237c6a1fdf39ea0848cbc828 | |
parent | c766735e6937bfc0acdde29336b6d8b6a5884ec5 (diff) | |
download | libmnl-8b0c82d8bd01347874dcc9a493129082424a3649.tar.gz libmnl-8b0c82d8bd01347874dcc9a493129082424a3649.zip |
attr: validate MNL_TYPE_MSEC same as MNL_TYPE_U64
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r-- | src/attr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -200,6 +200,7 @@ static const size_t mnl_attr_data_type_len[MNL_TYPE_MAX] = { [MNL_TYPE_U16] = sizeof(uint16_t), [MNL_TYPE_U32] = sizeof(uint32_t), [MNL_TYPE_U64] = sizeof(uint64_t), + [MNL_TYPE_MSECS] = sizeof(uint64_t), }; /** |