summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-06 17:56:47 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-06 17:56:47 -0700
commit876aa0883d66340960381ec6388c55b23e5d2b5e (patch)
tree918e1246e2cb98fe74037ff083dcceb475bc6802 /node/Constants.hpp
parent36db5865e7ab4ed92ede99f10835fba40e9b9fd8 (diff)
parent477feee8a3fbc84d00c2939b5fc8a9bbf19af2ca (diff)
downloadinfinitytier-876aa0883d66340960381ec6388c55b23e5d2b5e.tar.gz
infinitytier-876aa0883d66340960381ec6388c55b23e5d2b5e.zip
Merge branch 'adamierymenko-dev' into netcon
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r--node/Constants.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index 56cc95d4..6e9f5b15 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -161,7 +161,7 @@
/**
* Default MTU used for Ethernet tap device
*/
-#define ZT_IF_MTU ZT1_MAX_MTU
+#define ZT_IF_MTU ZT_MAX_MTU
/**
* Maximum number of packet fragments we'll support
@@ -325,6 +325,13 @@
#define ZT_DIRECT_PATH_PUSH_INTERVAL 300000
/**
+ * How long (max) to remember network certificates of membership?
+ *
+ * This only applies to networks we don't belong to.
+ */
+#define ZT_PEER_NETWORK_COM_EXPIRATION 3600000
+
+/**
* Sanity limit on maximum bridge routes
*
* If the number of bridge routes exceeds this, we cull routes from the