Fixed ZT_SDK build issue. Moved ZT_SDK preprocessor directives to more permanent homes

This commit is contained in:
Joseph Henry 2019-05-17 10:15:40 -07:00
parent 4743ad0b16
commit 90d324ae96
4 changed files with 16 additions and 5 deletions

View file

@ -482,7 +482,11 @@
/**
* Timeout for overall peer activity (measured from last receive)
*/
#ifndef ZT_SDK
#define ZT_PEER_ACTIVITY_TIMEOUT 500000
#else
#define ZT_PEER_ACTIVITY_TIMEOUT 30000
#endif
/**
* General rate limit timeout for multiple packet types (HELLO, etc.)