mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed out of range bug
This commit is contained in:
parent
040d0f5f58
commit
cbe58c8bb1
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ namespace tunnel
|
|||
CreateCurrentTunnelDataMessage ();
|
||||
|
||||
// create delivery instructions
|
||||
uint8_t di[40];
|
||||
uint8_t di[43]; // max delivery instruction length is 43 for tunnel
|
||||
size_t diLen = 1;// flag
|
||||
TunnelDeliveryType dt = eDeliveryTypeLocal;
|
||||
if (gwHash)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue