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 15:06:29 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3112





--- Comment #29 from Sake <sake@xxxxxxxxxx>  2009-01-05 15:06:29 PDT ---
(In reply to comment #28)
> It looks like when the last byte is greater than 0x80 and the packet length is
> odd, the checksum should be primed with -1 instead of 0

Make that "greater or equal to" 0x80...

I crafted a packet with a last byte of 0x7f, which worked fine with the current
patch, but a packet with the last byte of 0x80 and a correct checksum according
to Wireshark was not accepted by my switch.


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