]> 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]>
Mon, 20 Jan 2014 03:19:22 +0000 (19:19 -0800)
print-aodv.c

index ed64dfb6876c5526c45e981f93c9c31ef7e2bdd4..47f09a773b870e7dc43f6144ebdc5bf218139b34 100644 (file)
@@ -194,8 +194,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