Fix check for event initialization due to the merge.

This commit is contained in:
Guus Sliepen 2011-05-14 11:52:35 +02:00
parent ce8775000a
commit 3794e551c7

View 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 && !from->mtuevent)
if(from->options & OPTION_PMTU_DISCOVERY && !event_initialized(&from->mtuevent))
send_mtu_probe(from);
return true;