summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7df18f1)
This happened when sending an ALRM signal to a running tincd, which caused it
to send PING requests on any connection, regardless of its status.
expire_events();
for(node = connection_tree->head; node; node = node->next) {
connection_t *c = node->data;
expire_events();
for(node = connection_tree->head; node; node = node->next) {
connection_t *c = node->data;
+ if(c->status.active)
+ send_ping(c);