Always keep UDP mappings alive for nodes that also have a meta-connection.

This is necessary for assisting with UDP hole punching. But we don't
need to know the PMTU for this, so only send UDP probes.
This commit is contained in:
Guus Sliepen 2015-01-11 13:31:01 +01:00
parent 545ecb3396
commit eb7a0db18e
3 changed files with 19 additions and 7 deletions

View file

@ -214,6 +214,7 @@ extern void retry(void);
extern int reload_configuration(void);
extern void load_all_subnets(void);
extern void load_all_nodes(void);
extern void try_tx(struct node_t *n, bool);
#ifndef HAVE_MINGW
#define closesocket(s) close(s)