From: Guus Sliepen Date: Sat, 14 May 2011 09:52:35 +0000 (+0200) Subject: Fix check for event initialization due to the merge. X-Git-Tag: release-1.1pre1~64 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=3794e551c7db9aa81405f65f7b04a9951c4120b2;p=tinc Fix check for event initialization due to the merge. --- diff --git a/src/protocol_key.c b/src/protocol_key.c index ab56ac5a..99861287 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 && !from->mtuevent) + if(from->options & OPTION_PMTU_DISCOVERY && !event_initialized(&from->mtuevent)) send_mtu_probe(from); return true;