✘'MODE_BROADCASTx'

Gary E. Miller gem at rellim.com
Wed Aug 12 03:02:22 UTC 2020


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?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20200811/64f35015/attachment.bin>


More information about the devel mailing list