[ntp:questions] Reference implementation 4.2.4p6 receive() swapping bytes..?

Danny Mayer mayer at ntp.org
Tue Mar 10 02:58:05 UTC 2009


Dave Hart wrote:
> On Mar 7, 1:53 am, regan_russ... at hotmail.com wrote:
>> In the receive() function I am getting packets with the xmit, rec,
>> orig fields and semi-randomly in different byte order.
>> I chased this down from process_packet() but stopped there.
> 
> You must have broken something along the way.  I can't imagine 4.2.4p6
> has this problem and no one has noticed it before.  I've done a whole
> bunch of patches against 4.2.4p6 and see no reachability register
> misses for example.
> 
> It might be wise to spend a little time reviewing your changes using
> winmerge, windiff, or another tree-diff utility.
> 

He didn't even mention Windows, why would you expect him to be using
Windows utilities? As far as I can tell you have made no patches
available against 4.2.4p6 and they don't belong there anyway. They
should be in the ntp-dev branch.

Danny

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the questions mailing list