summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen-ichirou MATSUZAWA <chamaken@gmail.com>2013-12-07 20:27:46 +0900
committerFlorian Westphal <fw@strlen.de>2013-12-07 12:53:46 +0100
commit8b0c82d8bd01347874dcc9a493129082424a3649 (patch)
treec6f3f396a234738a237c6a1fdf39ea0848cbc828
parentc766735e6937bfc0acdde29336b6d8b6a5884ec5 (diff)
downloadlibmnl-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attr.c b/src/attr.c
index 1136c50..c3c57e6 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -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),
};
/**