diff options
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r-- | toxcore/DHT.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 236b8c16..68fa95af 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c | |||
@@ -45,10 +45,10 @@ | |||
45 | /* Ping interval in seconds for each random sending of a get nodes request. */ | 45 | /* Ping interval in seconds for each random sending of a get nodes request. */ |
46 | #define GET_NODE_INTERVAL 5 | 46 | #define GET_NODE_INTERVAL 5 |
47 | 47 | ||
48 | #define MAX_PUNCHING_PORTS 128 | 48 | #define MAX_PUNCHING_PORTS 32 |
49 | 49 | ||
50 | /* Interval in seconds between punching attempts*/ | 50 | /* Interval in seconds between punching attempts*/ |
51 | #define PUNCH_INTERVAL 10 | 51 | #define PUNCH_INTERVAL 3 |
52 | 52 | ||
53 | #define NAT_PING_REQUEST 0 | 53 | #define NAT_PING_REQUEST 0 |
54 | #define NAT_PING_RESPONSE 1 | 54 | #define NAT_PING_RESPONSE 1 |