Added replaywin into logger

This commit is contained in:
thorkill 2016-05-23 13:08:31 +02:00
parent 6369a4157b
commit a429889bed

View file

@ -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.