X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_key.c;h=a957780b3633dfbef6d51748745dad8795520298;hb=3a149f7521dfff67e6a790c1a830afc649ae083e;hp=b69d5adc5d13de7d95cba1cbccc292d2ec054cd9;hpb=bf81fce8ff7a244ecdfbe2d5535bdf4df07b3f35;p=tinc diff --git a/src/protocol_key.c b/src/protocol_key.c index b69d5adc..a957780b 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -50,7 +50,7 @@ void send_key_changed(void) { /* Force key exchange for connections using SPTPS */ if(experimental) { - for splay_each(node_t, n, node_tree) { + for splay_each(node_t, n, &node_tree) { if(n->status.reachable && n->status.validkey && n->status.sptps) { sptps_force_kex(&n->sptps); }