netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libmnl [PATCH 5/8] attr: validate MNL_TYPE_MSEC same as MNL_TYPE_U64
@ 2013-12-07 11:27 Ken-ichirou MATSUZAWA
  0 siblings, 0 replies; only message in thread
From: Ken-ichirou MATSUZAWA @ 2013-12-07 11:27 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Pablo Neira Ayuso


Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>

---
 src/attr.c | 1 +
 1 file changed, 1 insertion(+)

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),
 };
 
 /**
-- 
1.8.4.rc3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-07 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-07 11:27 libmnl [PATCH 5/8] attr: validate MNL_TYPE_MSEC same as MNL_TYPE_U64 Ken-ichirou MATSUZAWA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).