A few fixes dicatated by valgrind.

This commit is contained in:
Adam Ierymenko 2018-02-09 06:35:01 +00:00
parent f049740ae5
commit 51aadcf901
2 changed files with 21 additions and 33 deletions

View file

@ -50,6 +50,7 @@ namespace ZeroTier {
Switch::Switch(const RuntimeEnvironment *renv) :
RR(renv),
_lastBeaconResponse(0),
_lastCheckedQueues(0),
_lastUniteAttempt(8) // only really used on root servers and upstreams, and it'll grow there just fine
{
}