]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
__attribute__((packed)) added. Thank to Maksim Tamarsky
authorOndrej Filip <feela@network.cz>
Thu, 16 Oct 2014 16:05:54 +0000 (18:05 +0200)
committerOndrej Filip <feela@network.cz>
Thu, 16 Oct 2014 16:05:54 +0000 (18:05 +0200)
proto/ospf/ospf.h

index e705b88b9f2bd3d61360218cc9ee90852a320a3a..45dd70561b9a074355a6304d163e69fcdd6e2921 100644 (file)
@@ -319,13 +319,13 @@ struct immsb
   u8 i:1;
   u8 padding:5;
 #endif
-};
+}__attribute__((packed));;
 
 union imms
 {
   u8 byte;
   struct immsb bit;
-};
+}__attribute__((packed));;
 #define DBDES_MS 1
 #define DBDES_M 2
 #define DBDES_I 4