[ntp:questions] nptq -p slowness
mayer at ntp.isc.org
Tue Jan 30 02:30:41 UTC 2007
Richard B. Gilbert wrote:
> Harlan Stenn wrote:
>>>>> In article <2LGdnbKXL8u5HyDYnZ2dnUVZ_u2mnZ2d at comcast.com>, "Richard B. Gilbert" <rgilbert88 at comcast.net> writes:
>> Richard> You should be able to parse the string to see if it does have the
>> Richard> proper form to be an IP address: D.D.D.D where D is one to three
>> Richard> decimal digits.
>> But I do not believe we get a string in this case.
> Hmmmmm!! If you get the refid as a 32 bit binary integer, it's not so
> easy. But somewhere, somehow, somebody is deciding whether to display
> that as, say, ".WWV." or "0.87.87.88".
Yes, ntpq gets a string of the form 127.127.?.? and converts it to that.
It's really that simple.
More information about the questions