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/Capability.cpp | |
| parent | b1d94c9f9324a31887dc6edc99ed58d4f9b187db (diff) | |
| download | infinitytier-6ee201865b12f5b0f16208f6d696b1bf00197eaf.tar.gz infinitytier-6ee201865b12f5b0f16208f6d696b1bf00197eaf.zip | |
Clean up WHOIS code.
Diffstat (limited to 'node/Capability.cpp')
| -rw-r--r-- | node/Capability.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node/Capability.cpp b/node/Capability.cpp index 0e02025a..47dca1fc 100644 --- a/node/Capability.cpp +++ b/node/Capability.cpp @@ -30,6 +30,7 @@ #include "Topology.hpp" #include "Switch.hpp" #include "Network.hpp" +#include "Node.hpp" namespace ZeroTier { @@ -59,7 +60,7 @@ int Capability::verify(const RuntimeEnvironment *RR,void *tPtr) const if (!id.verify(tmp.data(),tmp.size(),_custody[c].signature)) return -1; } else { - RR->sw->requestWhois(tPtr,_custody[c].from); + RR->sw->requestWhois(tPtr,RR->node->now(),_custody[c].from); return 1; } } |
