From b280527e3e72bd0b2f49a1ed5aa8ba7e38d9dd88 Mon Sep 17 00:00:00 2001 From: Ralph Dolmans Date: Wed, 15 Jul 2020 17:31:18 +0200 Subject: [PATCH] Log dnstap connection close due to unknown content type. --- dnstap/dtstream.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dnstap/dtstream.c b/dnstap/dtstream.c index bface6b06..57fbf9a78 100644 --- a/dnstap/dtstream.c +++ b/dnstap/dtstream.c @@ -1120,6 +1120,9 @@ static int dtio_read_accept_frame(struct dt_io_thread* dtio) return 1; } else { /* unknow content type */ + verbose(VERB_ALGO, "dnstap: ACCEPT frames " + "contains unknown content type, " + "closing connection"); goto close_connection; } }