summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2014-10-16 18:05:54 +0200
committerOndrej Filip <feela@network.cz>2014-10-16 18:05:54 +0200
commitd26cfa0519daf1369b697b0df000c8db8b730e66 (patch)
tree6622142a718ff5503993cc92868e56b3973f06e7 /proto/ospf/ospf.h
parentcfdea7b85f6c520cc5a62eb907d2190db14c9900 (diff)
__attribute__((packed)) added. Thank to Maksim Tamarsky
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index e705b88b..45dd7056 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -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