summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-12-01 09:47:27 -0500
committerirungentoo <irungentoo@gmail.com>2013-12-01 09:47:27 -0500
commit3c16b0c0359c54fec2f4253d8855d8f02fea6a26 (patch)
tree677c1e44d93233697baf1405f8fa77b317d975df
parentfcc1463fe1818ec8d12e2ccdf7769859f31792df (diff)
Tweaked hole punching a bit.
-rw-r--r--toxcore/DHT.c4
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