diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-04-10 14:22:25 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-04-10 14:22:25 -0700 |
| commit | c9294c1a78fa86fbba38b1a81988ea7527b0872c (patch) | |
| tree | 0a2b3b88014b244020864839d4517a92ef1b5948 /node/RuntimeEnvironment.hpp | |
| parent | b117ff54358d4e2b6b8eae4bd5300464f377d948 (diff) | |
| download | infinitytier-c9294c1a78fa86fbba38b1a81988ea7527b0872c.tar.gz infinitytier-c9294c1a78fa86fbba38b1a81988ea7527b0872c.zip | |
Prevent recursive transit of ZeroTier packets, toward GitHub issue #56
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index e8518b97..8887b081 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -46,6 +46,7 @@ class Node; class Multicaster; class SoftwareUpdater; class SocketManager; +class AntiRecursion; /** * Holds global state for an instance of ZeroTier::Node @@ -69,6 +70,7 @@ public: timeOfLastPacketReceived(0), log((Logger *)0), prng((CMWC4096 *)0), + antiRec((AntiRecursion *)0), mc((Multicaster *)0), sw((Switch *)0), sm((SocketManager *)0), @@ -111,6 +113,7 @@ public: Logger *log; // null if logging is disabled CMWC4096 *prng; + AntiRecursion *antiRec; Multicaster *mc; Switch *sw; SocketManager *sm; |
