From b1d9eef28d1dd41e8b18748a2a43b5d90055210a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 19 Jan 2014 19:19:22 -0800 Subject: [PATCH] The interval in an AODV HELLO extension is not aligned on a 4-byte boundary. --- aodv.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aodv.h b/aodv.h index 18467d57..000bd994 100644 --- a/aodv.h +++ b/aodv.h @@ -161,8 +161,9 @@ struct aodv_ext { struct aodv_hello { struct aodv_ext eh; /* extension header */ - u_int32_t interval; /* expect my next hello in - * (n) ms */ + u_int8_t interval[4]; /* expect my next hello in + * (n) ms + * NOTE: this is not aligned */ }; #define AODV_EXT_HELLO 1