Richard B. Gilbert wrote: > Harlan Stenn wrote: > >>>>> In article <[EMAIL PROTECTED]>, "Richard B. Gilbert" <[EMAIL PROTECTED]> >>>>> 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. >> >> H > > > 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. Danny _______________________________________________ questions mailing list [email protected] https://lists.ntp.isc.org/mailman/listinfo/questions
