diff options
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index d04638b..d1085c4 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -178,10 +178,17 @@ struct ospf_hello_packet { }; struct immsb { +#ifdef _BIG_ENDIAN + u8 padding:5; + u8 i:1; + u8 m:1; + u8 ms:1; +#else u8 ms:1; u8 m:1; u8 i:1; u8 padding:5; +#endif }; union imms { |