[ntp:questions] nptq -p slowness

Danny Mayer mayer at ntp.isc.org
Mon Jan 29 17:50:06 UTC 2007


David L. Mills wrote:
> Harlan,
> 
> The string comes from a table in ./libntp/clocktypes.c. That table is 
> indexed byu the reference clock type number. It is displayed as the 
> server name in ntpq. There is no need to look it up. The ntpq program 
> can know when to use the string by the 127.127 prefix, which is how the 
> ISREFCLK() macro works.
> 
> Dave

It's ISREFCLOCKADR() actually, but that's a quibble.

Danny



More information about the questions mailing list