he right chunks from
> ntp.h and changes #define xx yy to xx = yy. (or something close to
> that) You can easily check to see if your magic.py has
> MODE_BROADCASTx or the old MODE_BROADCAST (without the x).
It had the old one:
build/main/ntpclients/ntp/magic.py:MODE_BROADCAST = 5
15 2019 /usr/local/lib64/python2.7/site-packag
es/ntp/magic.py
-rw-r--r-- 1 root root 4309 Apr 25 17:16 /usr/local/lib64/python3.7/site-packag
es/ntp/magic.py
-rw-r--r-- 1 root root 4337 Aug 6 14:46 /usr/local/lib64/python3.8/site-packag
es/ntp/magic.py
MODE_BROADCASTx comes from include/ntp.h
mag
/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 se
agic.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 match