X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=9b60a31446143dd3cce7c0cafe4da41f6077cfb8;hp=3f17083c192dec33ceb2fb5481513294263d6b8f;hb=51099658c919794cde72ea1107b9d9b9c3cee926;hpb=2a538ed34332b3392f866d56accd9efecc9467ed diff --git a/src/net.c b/src/net.c index 3f17083c..9b60a314 100644 --- a/src/net.c +++ b/src/net.c @@ -418,8 +418,13 @@ int main_loop(void) { } if(sigalrm) { + avl_node_t *node; logger(LOG_INFO, "Flushing event queue"); expire_events(); + for(node = connection_tree->head; node; node = node->next) { + connection_t *c = node->data; + send_ping(c); + } sigalrm = false; }