Crash fix

This commit is contained in:
Adam Ierymenko 2021-02-03 18:56:07 -05:00
parent 378bc73bf8
commit ac808d51d6
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
2 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@
#define ZT_PEER_HPP
#include <vector>
#include <list>
#include "../include/ZeroTierOne.h"
@ -573,7 +574,7 @@ private:
uint16_t _vMinor;
uint16_t _vRevision;
std::vector< std::pair< Path *, int64_t > > _lastTriedPath;
std::list< std::pair< Path *, int64_t > > _lastTriedPath;
Mutex _lastTriedPath_m;
_PeerPath _paths[ZT_MAX_PEER_NETWORK_PATHS];