Project

General

Profile

Bug #41 » 0002-bug-41-patch.patch

Gurvinder Singh, 01/03/2010 07:47 PM

View differences:

src/stream-tcp-reassemble.c
* new seg */
SCLogDebug("filling gap: list_seg->next->seq %"PRIu32"",
list_seg->next?list_seg->next->seq:0);
if (handle_beyond == TRUE) {
packet_length = list_seg->next->seq -
(list_seg->seq + list_seg->payload_len);
} else {
packet_length = seg->payload_len - list_seg->payload_len;
}
packet_length = seg->payload_len - list_seg->payload_len;
SCLogDebug("packet_length %"PRIu16"", packet_length);
TcpSegment *new_seg = StreamTcpGetSegment(packet_length);
(2-2/2)