mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-15 18:46:52 +02:00
eliminate misalignment for LeaseSet
This commit is contained in:
parent
4b47bfb5db
commit
9a7e21778e
2 changed files with 13 additions and 16 deletions
|
@ -16,12 +16,9 @@ namespace tunnel
|
|||
|
||||
namespace data
|
||||
{
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
struct Lease
|
||||
{
|
||||
uint8_t tunnelGateway[32];
|
||||
IdentHash tunnelGateway;
|
||||
uint32_t tunnelID;
|
||||
uint64_t endDate;
|
||||
|
||||
|
@ -33,8 +30,6 @@ namespace data
|
|||
return tunnelID < other.tunnelID;
|
||||
}
|
||||
};
|
||||
|
||||
#pragma pack()
|
||||
|
||||
const int MAX_LS_BUFFER_SIZE = 3072;
|
||||
class LeaseSet: public RoutingDestination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue