On Tue, Oct 4, 2011 at 12:12, Marco Marongiu wrote: > Hello all > > I can't make sense of some codes explained in the page in subject. > > In the system status word, the code is said to be stored in the last > four bits of the word, hence I'd expect to have up to 2^4codes, so 16. > Anyway, 17 codes are listed. > > A similar thing holds for the peer status word: four bits for the code, > but it lists values from 01 to 10 hex: we correctly have 16 codes, but > the last one is out of range. > > I am sure I am mistaken somewhere. Any hints?
I wish you were. :) The bit assignments for peer events and system events were reworked in the 4.2.5 cycle (2007-2009 basically). It appears to me the changes overlooked the 4 bits each is allocated in the status words, with the result the peer and system events numbered 16 show up in the status word the same as the events numbered 0. Both sets need to either go on a diet and lose one event code, or we need to steal a status word bit from another field to expand the event field. Thanks for reporting the contradiction. Please consider filing a bug report at http://bugs.ntp.org/ Cheers, Dave Hart _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
