eliminate misalignment for LeaseSet

This commit is contained in:
orignal 2015-03-23 12:55:42 -04:00
parent 4b47bfb5db
commit 9a7e21778e
2 changed files with 13 additions and 16 deletions

View file

@ -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