Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Problem with tcp_dissect_pdus

From: Andrew Schweitzer <a.schweitzer.grps@xxxxxxxxx>
Date: Sun, 19 Nov 2006 15:30:59 -0500
Andrew Schweitzer wrote:
John R. wrote:
Insofar as I have a workaround, I described it in the bug report.

hm.... didn't seem to work in my case. I still lose two packets.... maybe I screwed something up.


Hey it works if I use 1000000 rather than -1!
Cool.

I made these changes:
packet-tcp.c
tcp_dissect_pdus()
	//COMMENTED OUT:
	//	pinfo->desegment_len = fixed_len - length_remaining;
	//REPLACED WITH:
	//pinfo->desegment_len = -1;
	pinfo->desegment_len = 1000000;