diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-02-22 15:54:18 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-02-22 15:54:18 -0800 |
commit | 92f24d1988451fb99b24e89ab52dfa6ecae7e65f (patch) | |
tree | 488b8fd5c8fb7e1f2280ead0e7903d9e065524aa /include/ZeroTierOne.h | |
parent | 9b59bcd995c85963b2a9fb06677ed3ac963990a9 (diff) | |
download | infinitytier-92f24d1988451fb99b24e89ab52dfa6ecae7e65f.tar.gz infinitytier-92f24d1988451fb99b24e89ab52dfa6ecae7e65f.zip |
Make maximum size of a circuit test structure sane.
Diffstat (limited to 'include/ZeroTierOne.h')
-rw-r--r-- | include/ZeroTierOne.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index 8a74eafa..076e31fc 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -112,12 +112,12 @@ extern "C" { * This is more or less the max that can be fit in a given packet (with * fragmentation) and only one address per hop. */ -#define ZT_CIRCUIT_TEST_MAX_HOPS 512 +#define ZT_CIRCUIT_TEST_MAX_HOPS 256 /** * Maximum number of addresses per hop in a circuit test */ -#define ZT_CIRCUIT_TEST_MAX_HOP_BREADTH 256 +#define ZT_CIRCUIT_TEST_MAX_HOP_BREADTH 8 /** * Maximum number of cluster members (and max member ID plus one) |