projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36f8e4d
)
Remove pending MTU probe events when a node's reachability status changes.
author
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 11 Jun 2009 17:07:54 +0000
(19:07 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 11 Jun 2009 17:07:54 +0000
(19:07 +0200)
src/graph.c
patch
|
blob
|
history
diff --git
a/src/graph.c
b/src/graph.c
index 87bb220402dbd864e029782df1594eb55cdb9356..8564358566fa7250f47874352c0a4c0d9287542b 100644
(file)
--- a/
src/graph.c
+++ b/
src/graph.c
@@
-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 ? : "");