summaryrefslogtreecommitdiff
path: root/node/Defaults.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 16:01:36 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 16:01:36 -0400
commit3443b203e4035104071f5af0143591dcd48a4974 (patch)
tree149d93cacdd5d1e75abc50ad7bd894844284d5d4 /node/Defaults.hpp
parent1a764559863c823da227098701521ed29bec037e (diff)
downloadinfinitytier-3443b203e4035104071f5af0143591dcd48a4974.tar.gz
infinitytier-3443b203e4035104071f5af0143591dcd48a4974.zip
Each peer now tracks the last time it announced multicast LIKEs independently and does so frequently enough to prevent expires. Also add a multicast debug facility for use on the testnet.
Diffstat (limited to 'node/Defaults.hpp')
-rw-r--r--node/Defaults.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/node/Defaults.hpp b/node/Defaults.hpp
index 787193dc..4937ec03 100644
--- a/node/Defaults.hpp
+++ b/node/Defaults.hpp
@@ -33,6 +33,7 @@
#include <vector>
#include <map>
+#include "Constants.hpp"
#include "Identity.hpp"
#include "InetAddress.hpp"
@@ -52,6 +53,13 @@ public:
throw(std::runtime_error);
~Defaults() {}
+#ifdef ZT_TRACE_MULTICAST
+ /**
+ * Host to send UDP multicast trace messages to (human readable)
+ */
+ const InetAddress multicastTraceWatcher;
+#endif
+
/**
* Default home path for this platform
*/