X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_key.c;h=b69d5adc5d13de7d95cba1cbccc292d2ec054cd9;hb=0871c3095151bce6a4031a2662aa51b7193b855c;hp=29fe509081812799ba70cf96bae0b107a3318d97;hpb=9e917cc3b614d7a986416e6a2c3ea9ea583adacf;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); }