Adding upstream version 2.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
424ce939c2
commit
cb612b22a5
58 changed files with 177 additions and 159 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2022, OARC, Inc.
|
||||
* Copyright (c) 2018-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -356,7 +356,7 @@ int pcap_handle_tcp_segment(u_char* segment, int len, uint32_t seq, tcpstate_ptr
|
|||
if (!tcpstate->segbuf[s])
|
||||
continue;
|
||||
/* TODO: seq >= 0 */
|
||||
if (tcpstate->segbuf[s]->seq - seq > 0 && tcpstate->segbuf[s]->seq - seq < dnslen) {
|
||||
if (tcpstate->segbuf[s]->seq > seq && tcpstate->segbuf[s]->seq - seq < dnslen) {
|
||||
tcp_segbuf_t* segbuf = tcpstate->segbuf[s];
|
||||
tcpstate->segbuf[s] = NULL;
|
||||
dfprintf(1, "pcap_handle_tcp_segment: %s", "message reassembled");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue