Fix. Thanks to zzz @ #i2p-dev

This commit is contained in:
Meeh 2014-01-30 14:28:11 +01:00
parent c4065a702e
commit 38bc15167c

3
SSU.h
View File

@ -26,10 +26,11 @@ namespace ssu
const int SSU_MTU = 1484;
// payload types (3 bits)
// payload types (4 bits)
const uint8_t PAYLOAD_TYPE_SESSION_REQUEST = 0;
const uint8_t PAYLOAD_TYPE_SESSION_CREATED = 1;
const uint8_t PAYLOAD_TYPE_SESSION_CONFIRMED = 2;
const uint8_t PAYLOAD_TYPE_SESSION_DESTROY = 8;
const uint8_t PAYLOAD_TYPE_RELAY_REQUEST = 3;
const uint8_t PAYLOAD_TYPE_RELAY_RESPONSE = 4;
const uint8_t PAYLOAD_TYPE_RELAY_INTRO = 5;