X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_key.c;h=b69d5adc5d13de7d95cba1cbccc292d2ec054cd9;hb=bf81fce8ff7a244ecdfbe2d5535bdf4df07b3f35;hp=29fe509081812799ba70cf96bae0b107a3318d97;hpb=2c6b2d70e6640f39563ad7bb0aa0ba87f883848c;p=tinc diff --git a/src/protocol_key.c b/src/protocol_key.c index 29fe5090..b69d5adc 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -39,7 +39,7 @@ void send_key_changed(void) { /* Immediately send new keys to directly connected nodes to keep UDP mappings alive */ - for list_each(connection_t, c, connection_list) { + for list_each(connection_t, c, &connection_list) { if(c->edge && c->node && c->node->status.reachable && !c->node->status.sptps) { send_ans_key(c->node); }