소스 검색

Increase rule limits a little since chunking in netconf can accomodate this.

Adam Ierymenko 9 년 전
부모
커밋
95ff057e04
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      include/ZeroTierOne.h

+ 3 - 3
include/ZeroTierOne.h

@@ -104,17 +104,17 @@ extern "C" {
 /**
  * Maximum number of base (non-capability) network rules
  */
-#define ZT_MAX_NETWORK_RULES 256
+#define ZT_MAX_NETWORK_RULES 1024
 
 /**
  * Maximum number of per-node capabilities per network
  */
-#define ZT_MAX_NETWORK_CAPABILITIES 64
+#define ZT_MAX_NETWORK_CAPABILITIES 128
 
 /**
  * Maximum number of per-node tags per network
  */
-#define ZT_MAX_NETWORK_TAGS 16
+#define ZT_MAX_NETWORK_TAGS 128
 
 /**
  * Maximum number of direct network paths to a given peer