don't rely on order in tunnel build message. assign index to hop instead

This commit is contained in:
orignal 2014-06-18 19:38:21 -04:00
parent b95caaf219
commit 59439ebf26
2 changed files with 25 additions and 12 deletions

View file

@ -24,6 +24,7 @@ namespace tunnel
TunnelHopConfig * next, * prev;
i2p::crypto::TunnelDecryption decryption;
int recordIndex; // record # in tunnel build message
TunnelHopConfig (const i2p::data::RouterInfo * r)
{