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