]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
correct byte count in comment 264/head
authorRalph Dolmans <ralph@nlnetlabs.nl>
Thu, 16 Jul 2020 08:54:18 +0000 (10:54 +0200)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Thu, 16 Jul 2020 08:54:18 +0000 (10:54 +0200)
dnstap/dtstream.c

index 7f0c385040f350c5de05985fd2fdf2fc5acb5f0c..dda3ef1ff485e74840c5050c23d46fe1ed047b50 100644 (file)
@@ -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 +