]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Log dnstap connection close due to unknown content type.
authorRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 15 Jul 2020 15:31:18 +0000 (17:31 +0200)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 15 Jul 2020 15:31:18 +0000 (17:31 +0200)
dnstap/dtstream.c

index bface6b06ba843f4c9486e8d44412c658456b38b..57fbf9a781800fa82bb233bcd137711c262d6deb 100644 (file)
@@ -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;
                        }
                }