X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_key.c;h=1e7aa033e3316b557d1ad48481488a088f91d0eb;hp=63fcd976875cc0520d2f6c8e8cad3e9e2851e476;hb=365f60f3f8a8ff85a616d5014d555b470740d395;hpb=1fe8ba2f06c39d7c8b81f0e451bdbac94ae9375f diff --git a/src/protocol_key.c b/src/protocol_key.c index 63fcd976..1e7aa033 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -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;