[EMAIL PROTECTED] (Danny Mayer) wrote:
> > Perhaps some use should be made of pmode=MODE_BROADCAST?
>
> Probably, but ntpq receives the data as-is and doesn't have access to
> that information.
I think it'll be in there somewhere: the code-path as-is calls doquery
with no variable list:
/*
* Damn fuzzballs
*/
res = doquery(CTL_OP_READVAR, associd, 0, 0, (char *)0, &rstatus,
&dsize, &datap);
which should return everything a readvar command does. Would need some
reworking of doprintpeers -- defer calling decodeaddrtype until all
variables seen, and pass pmode to it; something like that.
--
Ronan Flood <[EMAIL PROTECTED]>
working for but not speaking for
Network Services, University of London Computer Centre
(which means: don't bother ULCC if I've said something you don't like)
_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions