From 1c6eec4540f226c77a6dbb602cf8e2ed9104b29b Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 10 Nov 2015 09:06:21 -0500 Subject: [PATCH] additional DTLS debug log messages Change-Id: I92fcdddf936ff339929b7e61019a3219c323c6af --- daemon/dtls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/dtls.c b/daemon/dtls.c index 5152915f6..f3d5c193b 100644 --- a/daemon/dtls.c +++ b/daemon/dtls.c @@ -665,6 +665,7 @@ int dtls(struct packet_stream *ps, const str *s, struct sockaddr_in6 *fsin) { return -1; if (s) { + ilog(LOG_DEBUG, "Processing incoming DTLS packet"); BIO_write(d->r_bio, s->s, s->len); /* we understand this as preference of DTLS over SDES */ MEDIA_CLEAR(ps->media, SDES); @@ -732,6 +733,7 @@ int dtls(struct packet_stream *ps, const str *s, struct sockaddr_in6 *fsin) { stream_msg_mh_src(ps, &mh); + ilog(LOG_DEBUG, "Sending DTLS packet"); sendmsg(ps->sfd->fd.fd, &mh, 0); return 0;