From 3ec36e64327b4b749a51275eb0f51ac32f360e11 Mon Sep 17 00:00:00 2001 From: thorkill Date: Wed, 11 May 2016 22:54:00 +0200 Subject: [PATCH] We still need excessive sptps logging --- src/logger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.