Tune NAT-t keepalives so that timing is better obeyed, clean up a build warning, and fix a potential source of network recursion (though harmless).

This commit is contained in:
Adam Ierymenko 2015-10-07 11:57:59 -07:00
parent 13f14c2f4c
commit 7d62dbe9f7
3 changed files with 6 additions and 5 deletions

View file

@ -264,7 +264,7 @@
* This is also how often pings will be retried to upstream peers (relays, roots)
* constantly until something is heard.
*/
#define ZT_PING_CHECK_INVERVAL 6250
#define ZT_PING_CHECK_INVERVAL 9500
/**
* Delay between ordinary case pings of direct links