Re: ✘'MODE_BROADCASTx'
James Browning
jamesb.fe80 at gmail.com
Wed Aug 12 03:26:50 UTC 2020
On Tue, Aug 11, 2020, 8:02 PM Gary E. Miller via devel <devel at ntpsec.org>
wrote:
> Yo All!
>
> I just updated my NTPsec, and it is not working.
>
> # ntpmon
> Traceback (most recent call last):
> File "/usr/local/bin/ntpmon", line 343, in <module>
> peer.associd)
> File "/usr/local/lib/python2.7/site-packages/ntp/util.py", line 1098, in
> summary
> elif hmode == ntp.magic.MODE_BROADCASTx:
> AttributeError: 'module' object has no attribute 'MODE_BROADCASTx'
>
> I look in the git directory for MODE_BROADCASTx, but I do not see
> it defined in Python:
>
> pi /usr/local/src/NTP/ntpsec # fgrep MODE_BROADCASTx * -r
> Binary file build/main/pylib/util.pyo matches
> build/main/pylib/util.py: elif hmode == ntp.magic.MODE_BROADCASTx:
> Binary file build/main/pylib/util.pyc matches
> include/ntp.h:#define MODE_BROADCASTx 5 /* broadcast mode */
> pylib/util.py: elif hmode == ntp.magic.MODE_BROADCASTx:
>
> What am I missing?
>
Ntp.magic and ntp.control are auto generated fro c headers by wscript.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20200811/e6971d7e/attachment.htm>
More information about the devel
mailing list