This commit is contained in:
Adam Ierymenko 2015-10-01 13:01:18 -07:00
parent d6676a9d6c
commit 2c196307ee

View File

@ -453,7 +453,7 @@ bool Peer::needsOurNetworkMembershipCertificate(uint64_t nwid,uint64_t now,bool
const uint64_t tmp = lastPushed;
if (updateLastPushedTime)
lastPushed = now;
return ((now - tmp) < (ZT_NETWORK_AUTOCONF_DELAY / 2));
return ((now - tmp) >= (ZT_NETWORK_AUTOCONF_DELAY / 2));
}
void Peer::clean(const RuntimeEnvironment *RR,uint64_t now)