Packet format fix. Pad message until length is a multiple of 4. Some code
[olsrd.git] / lib / nameservice / src / nameservice_msg.h
index dd5f057..48624e9 100644 (file)
@@ -4,6 +4,7 @@
 struct namemsg
 {
   olsr_u8_t name_len;          // length of the following name filed
+  olsr_u8_t pad[3];             // added by the compiler anyway
 };
 
 /*