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 1044] typo in epan/dissectors/packet-ntp.c

Date: Sat, 19 Aug 2006 18:26:32 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1044





------- Comment #1 from toralf.foerster@xxxxxx  2006-08-19 18:26 GMT -------
Created an attachment (id=342)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=342&action=view)
patch for ntp dissector

BTW, I added the missing "INIT" variant, moved the buff variable out of
if/then/else and added handling of refid == 0.
Tested changes against both the command ntpdate as well as for a common ntpd
session (version net-misc/ntp-4.2.0.20040617 udner Gentoo), no problems,

Long time ago since I last coded in C, hopefully I don't have overlooked
something.


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