We still need excessive sptps logging

This commit is contained in:
thorkill 2016-05-11 22:54:00 +02:00
parent ca601087fc
commit b27e9bfd74

View file

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