X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet.c;h=863dd762c326c885312a88d703f157f2ae4fc0ed;hb=76a3ada4eb4032172c3d780915a07680f9954d42;hp=295546df6068a5e63e2c4701d2d5c56d94f4a650;hpb=c78bb143030162f0c820f08c87808e157c014a07;p=tinc diff --git a/src/net.c b/src/net.c index 295546df..863dd762 100644 --- a/src/net.c +++ b/src/net.c @@ -341,9 +341,10 @@ int reload_configuration(void) { void retry(void) { connection_t *c; - splay_node_t *node; + splay_node_t *node, *next; - for(node = connection_tree->head; node; node = node->next) { + for(node = connection_tree->head; node; node = next) { + next = node->next; c = node->data; if(c->outgoing && !c->node) {