X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=c4c9fd4861a530f8b2c3e63a950f0b43ce50cb1a;hp=5985cbf0c5ac4317c912c07088862b6c394c76cf;hb=9d469a19691f9749b5d729a1ae903d7aa224a6e8;hpb=df3220a1549f992cbf4a9b6e67c1e67b69896c7d diff --git a/src/connection.c b/src/connection.c index 5985cbf0..c4c9fd48 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1,7 +1,7 @@ /* connection.c -- connection list management - Copyright (C) 2000-2005 Guus Sliepen , - 2000-2005 Ivo Timmermans + Copyright (C) 2000-2006 Guus Sliepen , + 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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, c->status.value, + c->outbufsize, c->outbufstart, c->outbuflen); } logger(LOG_DEBUG, _("End of connections."));