From a429889bed6c70bb74c93a8f12d9cf4aa44a836f Mon Sep 17 00:00:00 2001 From: thorkill Date: Mon, 23 May 2016 13:08:31 +0200 Subject: [PATCH] Added replaywin into logger --- src/logger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logger.c b/src/logger.c index dd42684e..d9c912d4 100644 --- a/src/logger.c +++ b/src/logger.c @@ -128,9 +128,9 @@ 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, - " [init:%d udp:%d state:%d instate:%d outstate:%d inseqno:%d outseqno:%d farfuture:%d] ", s->initiator, s->datagram, + " [init:%d udp:%d state:%d instate:%d outstate:%d inseqno:%d outseqno:%d farfuture:%d replaywin:%d] ", s->initiator, s->datagram, s->state, s->instate, s->outstate, s->inseqno, s->outseqno, - s->farfuture); + s->farfuture, s->replaywin); // 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.