Harlan Stenn wrote: >>>>In article <[EMAIL PROTECTED]>, "Richard B. Gilbert" <[EMAIL PROTECTED]> >>>>writes: > > > Richard> The bug is that ntpq should not be interpreting the refid at all! > Richard> It's a text string, not an IP address and should not be treated as > Richard> one. Yes, sometimes the refid IS an IP address but it still should > Richard> be treated as a simple text string! > > How can the code tell the difference between a refid that is a string and > one that is an IP address? >
ISTR reading something from Dave here to the effect that the REFID was NOT an IP address even if it had the form of an IP address. You should be able to parse the string to see if it does have the proper form to be an IP address: D.D.D.D where D is one to three decimal digits. _______________________________________________ questions mailing list [email protected] https://lists.ntp.isc.org/mailman/listinfo/questions
