- for(node = id_tree->head; node; node = node->next)
- {
- cl = (connection_t *)node->data;
- syslog(LOG_DEBUG, _(" %s at %s port %hd options %ld sockets %d, %d status %04x nexthop %s prevhop %s via %s"),
- cl->name, cl->hostname, cl->port, cl->options,
- cl->socket, cl->meta_socket, cl->status, cl->nexthop->name, cl->prevhop->name, cl->via->name);
- }
-
- syslog(LOG_DEBUG, _("End of connection list."));
-cp
-}
+ for(node = connection_tree->head; node; node = node->next) {
+ c = node->data;
+ logger(LOG_DEBUG, " %s at %s options %x socket %d status %04x outbuf %d/%d/%d",
+ c->name, c->hostname, c->options, c->socket, bitfield_to_int(&c->status, sizeof c->status),
+ c->outbufsize, c->outbufstart, c->outbuflen);
+ }