diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c index 6165c73fec..a9dd26cf0c 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c @@ -468,6 +468,9 @@ int tport_tls_recv(tport_t *self) if (self->tp_master->mr_dump_file) tport_dump_iovec(self, msg, n, iovec, veclen, "recv", "from"); + if (self->tp_master->mr_capt_sock) + tport_capt_msg(self, msg, n, iovec, veclen, "recv"); + /* Mark buffer as used */ msg_recv_commit(msg, N, 0);