Skip to contentSkip to conversation

libmnl [PATCH 5/8] attr: validate MNL_TYPE_MSEC same as MNL_TYPE_U64

PATCH Ken-ichirou MATSUZAWA 1 participant 1 message Dec 7, 2013 netfilter

lore
Share & tools
lore
#0 lore raw
---
 src/attr.c | 1 +
 1 file changed, 1 insertion(+)
src/attr.c +1 -0
index 1136c50..c3c57e6 100644
@@ -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),
 };
 
 /**
Signature · 1 line
1.8.4.rc3