Delete mtuevent if it is not used.
Keeping it around prevents ans_key_h() from restarting PMTU discovery.
This commit is contained in:
parent
79e9a4f743
commit
1fe8ba2f06
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ static void send_mtu_probe_handler(int fd, short events, void *data) {
|
|||
if(!n->status.reachable || !n->status.validkey) {
|
||||
ifdebug(TRAFFIC) logger(LOG_INFO, "Trying to send MTU probe to unreachable or rekeying node %s (%s)", n->name, n->hostname);
|
||||
n->mtuprobes = 0;
|
||||
event_del(&n->mtuevent);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue