From: Ralph Dolmans Date: Thu, 16 Jul 2020 08:54:18 +0000 (+0200) Subject: correct byte count in comment X-Git-Tag: release-1.11.0~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F264%2Fhead;p=thirdparty%2Funbound.git correct byte count in comment --- 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 +