1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-08 00:34:57 +03:00

Fixing alignment of struct on GCC, changing the method to server one

This commit is contained in:
Evengard
2020-05-03 04:24:01 +03:00
parent 8a856e4672
commit 132926ee09
2 changed files with 9 additions and 4 deletions

View File

@ -189,7 +189,9 @@ struct PPP_OPTION
#ifdef OS_WIN32
#pragma pack(push, 1)
#endif // OS_WIN32
#else // OS_WIN32
#pragma pack(1)
#endif
// PPP EAP packet
@ -217,7 +219,9 @@ struct PPP_EAP
#ifdef OS_WIN32
#pragma pack(pop)
#endif // OS_WIN32
#else // OS_WIN32
#pragma pack()
#endif
struct PPP_EAP_TLS_CONTEXT
{