summaryrefslogtreecommitdiffstats
path: root/src/tcpreasm.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:27:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:27:04 +0000
commit81fa0bc63909a67cdd6d321617a2e5648a6a94a2 (patch)
tree2b0a2eae7aed22e3c6f707283d7617d8c02b3fbe /src/tcpreasm.c
parentAdding upstream version 2.1.3. (diff)
downloaddnscap-09b0fb3b1aa208fd8414e3410157ce1fb6f5a1f6.tar.xz
dnscap-09b0fb3b1aa208fd8414e3410157ce1fb6f5a1f6.zip
Adding upstream version 2.2.0.upstream/2.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tcpreasm.c')
-rw-r--r--src/tcpreasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpreasm.c b/src/tcpreasm.c
index e3df539..7dc82fa 100644
--- a/src/tcpreasm.c
+++ b/src/tcpreasm.c
@@ -104,7 +104,7 @@ static int dns_protocol_handler(tcpreasm_t* t, u_char* segment, uint16_t dnslen,
}
t->bfb_buf[t->bfb_at++] = dnslen >> 8;
- t->bfb_buf[t->bfb_at++] = dnslen & 0xff; //NOSONAR
+ t->bfb_buf[t->bfb_at++] = dnslen & 0xff; // NOSONAR
memcpy(&t->bfb_buf[t->bfb_at], segment, dnslen);
t->bfb_at += dnslen;
t->seq_bfb += 2 + dnslen;