Ian Bruene <ianbru...@gmail.com>: > >If you want to clean this up, go right ahead. I think it would be a > >good way for you to get your fingers into the C code, with a simple > >excision. > > I'll take a look at it, in /theory/ it should be an easy swap.
I'm now investigating a complication, alas. Turns out that the C statustoa handles one set of #defines that isn't in control.py; the PLL* things for the system status word. This matters if the status type is TYPE_SYS, not TYPE_PEER or TYPE_CLOCK. This doesn't matter in the ntpmon case, it only wants a peer or clock status. The printvars commands in ntpq are what use TYPE_SYS. Ugh. I didn't know this before because I hadn't gotten around to actually trying to ditch the C statustoa. It's still possible you might be able to get rid of it, but it is unlikely to be simple. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> Please consider contributing to my Patreon page at https://www.patreon.com/esr so I can keep the invisible wheels of the Internet turning. Give generously - the civilization you save might be your own. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel