X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_key.c;h=1e7aa033e3316b557d1ad48481488a088f91d0eb;hb=ee8a214318fd6dbe6bc5d6b510896f30d92d46c6;hp=63fcd976875cc0520d2f6c8e8cad3e9e2851e476;hpb=33f241d97852d7a171f1aaf1bda7f66356ff889e;p=tinc 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;