Browse Source

Make maximum size of a circuit test structure sane.

pull/1/head
Adam Ierymenko 10 years ago
parent
commit
92f24d1988
  1. 4
      include/ZeroTierOne.h

4
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)

Loading…
Cancel
Save