summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorJanjaap Bos <janjaap.bos@capitar.com>2015-11-30 19:48:38 +0100
committerJanjaap Bos <janjaap.bos@capitar.com>2015-11-30 19:48:38 +0100
commite6808c69f8f5e3b9c9e3c7244e4009e37c5cf94b (patch)
treeb7ac2b0c30814fd1e3b9282a39cebf49b54fe052 /node
parent75637f68b3f7a7bbd03a99287b82e442d0b5b354 (diff)
downloadinfinitytier-e6808c69f8f5e3b9c9e3c7244e4009e37c5cf94b.tar.gz
infinitytier-e6808c69f8f5e3b9c9e3c7244e4009e37c5cf94b.zip
Increase maximum number of paths per IP scope to 4
Otherwise, local discovered routes are ignored. Don't know what the best value would be. Taking 4 for now.
Diffstat (limited to 'node')
-rw-r--r--node/Constants.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index 65ed108a..c4f11ea6 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -343,7 +343,7 @@
/**
* Maximum number of paths per IP scope (e.g. global, link-local) and family (e.g. v4/v6)
*/
-#define ZT_PUSH_DIRECT_PATHS_MAX_PER_SCOPE_AND_FAMILY 1
+#define ZT_PUSH_DIRECT_PATHS_MAX_PER_SCOPE_AND_FAMILY 4
/**
* A test pseudo-network-ID that can be joined