diff --git a/src/logger.c b/src/logger.c index 45a00241..89c4c40d 100644 --- a/src/logger.c +++ b/src/logger.c @@ -128,7 +128,8 @@ static void sptps_logger(sptps_t *s, int s_errno, const char *format, va_list ap message[--len] = 0; len += snprintf(message + len, sizeof message - len, - " i: %d UDP: %d", s->initiator, s->datagram); + " [init:%d udp:%d state:%d instate:%d outstate:%d inseqno:%d outseqno:%d] ", s->initiator, s->datagram, + s->state, s->instate, s->outstate, s->inseqno, s->outseqno); // WARNING: s->handle can point to a connection_t or a node_t, // but both types have the name and hostname fields at the same offsets.