mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-06 11:10:13 +00:00
Make maximum size of a circuit test structure sane.
This commit is contained in:
parent
9b59bcd995
commit
92f24d1988
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user