Skip to content

Commit

Permalink
Merge pull request #209 from janvanbouwel/fix-include-constants
Browse files Browse the repository at this point in the history
Fix memory issue
  • Loading branch information
joseph-henry authored Feb 21, 2023
2 parents 0cb84aa + 9d66844 commit b4e06b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/ZeroTierSockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ typedef enum {
/**
* Maximum number of direct network paths to a given peer
*/
#define ZTS_MAX_PEER_NETWORK_PATHS 16
#define ZTS_MAX_PEER_NETWORK_PATHS 64

/**
* Maximum number of multicast groups a device / network interface can be
Expand Down
2 changes: 1 addition & 1 deletion pkg/crate/libzt/src/include/ZeroTierSockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ typedef enum {
/**
* Maximum number of direct network paths to a given peer
*/
#define ZTS_MAX_PEER_NETWORK_PATHS 16
#define ZTS_MAX_PEER_NETWORK_PATHS 64

/**
* Maximum number of multicast groups a device / network interface can be
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/java/ZeroTierNative.java
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public class ZeroTierNative {
/**
* Maximum number of direct network paths to a given peer
*/
public static int ZTS_MAX_PEER_NETWORK_PATHS = 16;
public static int ZTS_MAX_PEER_NETWORK_PATHS = 64;

/**
* Maximum number of multicast groups a device / network interface can be
Expand Down

0 comments on commit b4e06b6

Please sign in to comment.