Browse Source

Make maximum size of a circuit test structure sane.

Adam Ierymenko 9 years ago
parent
commit
92f24d1988
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/ZeroTierOne.h

+ 2 - 2
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
  * This is more or less the max that can be fit in a given packet (with
  * fragmentation) and only one address per hop.
  * 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
  * 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)
  * Maximum number of cluster members (and max member ID plus one)