diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-23 16:42:17 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-23 16:42:17 -0700 |
| commit | 6ee201865b12f5b0f16208f6d696b1bf00197eaf (patch) | |
| tree | 07d7c9c1cc24b532946269506374c01eb59478a1 /node/Revocation.cpp | |
| parent | b1d94c9f9324a31887dc6edc99ed58d4f9b187db (diff) | |
| download | infinitytier-6ee201865b12f5b0f16208f6d696b1bf00197eaf.tar.gz infinitytier-6ee201865b12f5b0f16208f6d696b1bf00197eaf.zip | |
Clean up WHOIS code.
Diffstat (limited to 'node/Revocation.cpp')
| -rw-r--r-- | node/Revocation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node/Revocation.cpp b/node/Revocation.cpp index 026058da..89a2db95 100644 --- a/node/Revocation.cpp +++ b/node/Revocation.cpp @@ -30,6 +30,7 @@ #include "Topology.hpp" #include "Switch.hpp" #include "Network.hpp" +#include "Node.hpp" namespace ZeroTier { @@ -39,7 +40,7 @@ int Revocation::verify(const RuntimeEnvironment *RR,void *tPtr) const return -1; const Identity id(RR->topology->getIdentity(tPtr,_signedBy)); if (!id) { - RR->sw->requestWhois(tPtr,_signedBy); + RR->sw->requestWhois(tPtr,RR->node->now(),_signedBy); return 1; } try { |
