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

Wireshark-bugs: [Wireshark-bugs] [Bug 3112] CDP Checksum Calculation Incorrect

Date: Mon, 5 Jan 2009 22:51:37 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3112





--- Comment #35 from Jaap Keuter <jaap.keuter@xxxxxxxxx>  2009-01-05 22:51:36 PDT ---
(In reply to comment #32)
> Created an attachment (id=2638)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2638) [details]
> patch #2
> 
> Here's another patch, which takes into account that when the last byte is
> greater or equal to 0x80, the checksum should be primed with -1. It works on
> all the CDP traces attached to this bug-report.
> 

I've incorporated the extra code in my changes and have the code, with comments
explaining all this, ready to be checked in. When the last captures of Greg
work out right I'll commit it. 


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.