]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
remove unused define
authorRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 15 Jul 2020 21:01:13 +0000 (23:01 +0200)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 15 Jul 2020 21:01:13 +0000 (23:01 +0200)
dnstap/dtstream.c

index 3a792f5892a0e128fd30b5da89bc51b5146f4b16..7f0c385040f350c5de05985fd2fdf2fc5acb5f0c 100644 (file)
@@ -71,8 +71,6 @@
 
 /** maximum length of received frame */
 #define DTIO_RECV_FRAME_MAX_LEN 1000
-/** lentgh of the ACCEPT frame with DNSTAP content type */
-#define DNSTAP_ACCEPT_FRAME_LEN 4+4+4+strlen(DNSTAP_CONTENT_TYPE)
 
 struct stop_flush_info;
 /** DTIO command channel commands */
@@ -1097,7 +1095,7 @@ static int dtio_read_accept_frame(struct dt_io_thread* dtio)
        }
        read_frame_done = 4; /* control frame type */
 
-       /* Iteratate over control fields, ignore unknown types.
+       /* Iterate over control fields, ignore unknown types.
         * Need to be able to read at least 2 bytes (control field type +
         * length). */
        while(read_frame_done+8 < dtio->read_frame.frame_len) {