]> The Tcpdump Group git mirrors - tcpdump/commitdiff
The interval in an AODV HELLO extension is not aligned on a 4-byte boundary.
authorGuy Harris <[email protected]>
Mon, 20 Jan 2014 03:19:22 +0000 (19:19 -0800)
committerGuy Harris <[email protected]>
Wed, 19 Nov 2014 08:38:04 +0000 (00:38 -0800)
aodv.h

diff --git a/aodv.h b/aodv.h
index 18467d576cedd3082c77e8df3ccf9a28ff56438b..000bd9941c9849de8c4fe75de4517d2c44675d47 100644 (file)
--- a/aodv.h
+++ b/aodv.h
@@ -161,8 +161,9 @@ struct aodv_ext {
 
 struct aodv_hello {
        struct  aodv_ext        eh;             /* extension header */
 
 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
 };
 
 #define        AODV_EXT_HELLO  1