Apply patch from Scott Lamb adding an output buffer for the TCP sockets.
[oweals/tinc.git] / src / connection.c
index 5985cbf0c5ac4317c912c07088862b6c394c76cf..bb9e336d459d2f37b36687b778ff229459e2c9be 100644 (file)
@@ -121,8 +121,9 @@ void dump_connections(void)
 
        for(node = connection_tree->head; node; node = node->next) {
                c = node->data;
-               logger(LOG_DEBUG, _(" %s at %s options %lx socket %d status %04x"),
-                          c->name, c->hostname, c->options, c->socket, *(uint32_t *)&c->status);
+               logger(LOG_DEBUG, _(" %s at %s options %lx socket %d status %04x outbuf %d/%d/%d"),
+                          c->name, c->hostname, c->options, c->socket, *(uint32_t *)&c->status,
+                          c->outbufsize, c->outbufstart, c->outbuflen);
        }
 
        logger(LOG_DEBUG, _("End of connections."));