Remove pending MTU probe events when a node's reachability status changes.
This commit is contained in:
parent
36f8e4da8b
commit
df4add94a4
1 changed files with 5 additions and 0 deletions
|
@ -264,6 +264,11 @@ void sssp_bfs(void)
|
|||
n->minmtu = 0;
|
||||
n->mtuprobes = 0;
|
||||
|
||||
if(n->mtuevent) {
|
||||
event_del(n->mtuevent);
|
||||
n->mtuevent = NULL;
|
||||
}
|
||||
|
||||
asprintf(&envp[0], "NETNAME=%s", netname ? : "");
|
||||
asprintf(&envp[1], "DEVICE=%s", device ? : "");
|
||||
asprintf(&envp[2], "INTERFACE=%s", iface ? : "");
|
||||
|
|
Loading…
Reference in a new issue