'MODE_BROADCASTx'

Hal Murray hmurray at megapathdsl.net
Wed Aug 12 20:03:01 UTC 2020


> You can see I have the new one installed:

Then either the new one is buggy or you aren't using it at runtime.

All the magic.py-s that you ls-ed have the same length.  That's suspicious.  I 
have 3 different lengths but none of them match yours.
-rw-r--r-- 1 root root 4229 Sep 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

magic.py is made by a script.  It just copies the 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).


Did you do a clean build after git pull?  If not, then maybe waf wasn't smart 
to rebuild magic.py
(I use a script to do configure and build, starting with rm -r build.)


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list