Don't call event_del() from the mtuevent handler, always send_mtu_probe() in ans_key_h().
[tinc] / src / protocol_key.c
index 63fcd97..1e7aa03 100644 (file)
@@ -275,7 +275,7 @@ bool ans_key_h(connection_t *c, char *request) {
                update_node_udp(from, &sa);
        }
 
-       if(from->options & OPTION_PMTU_DISCOVERY && !event_initialized(&from->mtuevent))
+       if(from->options & OPTION_PMTU_DISCOVERY)
                send_mtu_probe(from);
 
        return true;