From 6ca79ff7274f629d2e5f082e4f77ae9d7a8cfcf5 Mon Sep 17 00:00:00 2001 From: Ralph Dolmans Date: Thu, 16 Jul 2020 10:54:18 +0200 Subject: [PATCH] correct byte count in comment --- dnstap/dtstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnstap/dtstream.c b/dnstap/dtstream.c index 7f0c38504..dda3ef1ff 100644 --- a/dnstap/dtstream.c +++ b/dnstap/dtstream.c @@ -1096,7 +1096,7 @@ static int dtio_read_accept_frame(struct dt_io_thread* dtio) read_frame_done = 4; /* control frame type */ /* Iterate over control fields, ignore unknown types. - * Need to be able to read at least 2 bytes (control field type + + * Need to be able to read at least 8 bytes (control field type + * length). */ while(read_frame_done+8 < dtio->read_frame.frame_len) { uint32_t type = sldns_read_uint32(dtio->read_frame.buf + -- 2.47.2