X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_key.c;h=6ff68d274cacf0eb842e33ace179913a322257b0;hp=fbd7cabb8babafdd89fd09ac16a4fa46254bc8f8;hb=67766d65f06854ee894d784f638c5c9cd2b50bca;hpb=23acc19bc090051156ad895caed61848f5afb144 diff --git a/src/protocol_key.c b/src/protocol_key.c index fbd7cabb..6ff68d27 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -1,7 +1,7 @@ /* protocol_key.c -- handle the meta-protocol, key exchange Copyright (C) 1999-2005 Ivo Timmermans, - 2000-2010 Guus Sliepen + 2000-2011 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -310,7 +310,7 @@ bool ans_key_h(connection_t *c) { update_node_udp(from, &sa); } - if(from->options & OPTION_PMTU_DISCOVERY && !from->mtuprobes) + if(from->options & OPTION_PMTU_DISCOVERY && !from->mtuevent) send_mtu_probe(from); return true;