]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_key.c
Improved PMTU probe algorithm.
[meshlink] / src / protocol_key.c
index 745845a650ebd0453660e53301a0cbc056459931..be81ec4a813b3b212cd42a651fcfa28d8d7ef77c 100644 (file)
@@ -26,6 +26,7 @@
 #include "netutl.h"
 #include "node.h"
 #include "prf.h"
+#include "pmtu.h"
 #include "protocol.h"
 #include "sptps.h"
 #include "utils.h"
@@ -496,7 +497,7 @@ bool ans_key_h(meshlink_handle_t *mesh, connection_t *c, const char *request) {
                        update_node_udp(mesh, from, &sa);
                }
 
-               send_mtu_probe(mesh, from);
+               keepalive(mesh, from, true);
        }
 
        return true;