Make maximum size of a circuit test structure sane.

This commit is contained in:
Adam Ierymenko 2016-02-22 15:54:18 -08:00
parent 9b59bcd995
commit 92f24d1988

View File

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