X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=66eb0596bdc41bf4fb0c4518611a724d1aa1c4da;hp=430e1c149ec19d9307cb203947dab624177cd095;hb=81afa26e4ad53bea00da18a7666f63d33cf3f588;hpb=9b394bc887695da6db74f4b9796b4823e553f8cc diff --git a/src/connection.c b/src/connection.c index 430e1c14..66eb0596 100644 --- a/src/connection.c +++ b/src/connection.c @@ -144,7 +144,7 @@ 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 outbuf %d/%d/%d"), - c->name, c->hostname, c->options, c->socket, *(uint32_t *)&c->status, + c->name, c->hostname, c->options, c->socket, bitfield_to_int(&c->status, sizeof c->status), c->outbufsize, c->outbufstart, c->outbuflen); }