Fix some packets may fail to parse
This commit is contained in:
parent
f01e7d3320
commit
44182eef62
|
@ -1,6 +1,9 @@
|
||||||
#ifndef STRUCT_H_INCLUDED
|
#ifndef STRUCT_H_INCLUDED
|
||||||
#define STRUCT_H_INCLUDED
|
#define STRUCT_H_INCLUDED
|
||||||
|
|
||||||
|
#pragma pack(push)
|
||||||
|
#pragma pack(1)
|
||||||
|
|
||||||
struct IPCMemoryInfo
|
struct IPCMemoryInfo
|
||||||
{
|
{
|
||||||
uint8_t airIoStatus[6];
|
uint8_t airIoStatus[6];
|
||||||
|
@ -76,4 +79,6 @@ struct PacketPing
|
||||||
uint64_t remotePingTime;
|
uint64_t remotePingTime;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#pragma pack(pop)
|
||||||
|
|
||||||
#endif // STRUCT_H_INCLUDED
|
#endif // STRUCT_H_INCLUDED
|
||||||
|
|
Loading…
Reference in New Issue