diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-04-17 09:30:28 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-04-17 09:30:28 -0700 |
commit | 1d8ded3293495ceb98553a0b446311e86bb00ee2 (patch) | |
tree | 8f2cb4325c7a0c5d1a94d93403fe8d3dd24c5eb7 /node | |
parent | 2487a8bede10f1ea58ca2778d9772ee9056e6b12 (diff) | |
download | infinitytier-1d8ded3293495ceb98553a0b446311e86bb00ee2.tar.gz infinitytier-1d8ded3293495ceb98553a0b446311e86bb00ee2.zip |
Tiny largely non-consequential credential fix.
Diffstat (limited to 'node')
-rw-r--r-- | node/Membership.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Membership.cpp b/node/Membership.cpp index 62c07314..ceba24b2 100644 --- a/node/Membership.cpp +++ b/node/Membership.cpp @@ -153,7 +153,7 @@ static Membership::AddCredentialResult _addCredImpl(Hashtable<uint32_t,C> &remot { C *rc = remoteCreds.get(cred.id()); if (rc) { - if (rc->timestamp() >= cred.timestamp()) { + if (rc->timestamp() > cred.timestamp()) { TRACE("addCredential(type==%d) for %s on %.16llx REJECTED (older than credential we have)",(int)C::credentialType(),cred.issuedTo().toString().c_str(),cred.networkId()); return Membership::ADD_REJECTED; } |