You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parsing of the MAC address should be different in py3.
In Python 3 the sock.recvfrom(...) call returns bytes while Python 2.7 recvfrom returns a string.
I couldn't find the line of code where sock.recvfrom(...) is called but this can be fixed in another way:
The function data_to_eui48 in core/util.py needs to be changed:
I found a bug the python 3 branch for model_11
The parsing of the MAC address should be different in py3.
In Python 3 the sock.recvfrom(...) call returns bytes while Python 2.7 recvfrom returns a string.
I couldn't find the line of code where sock.recvfrom(...) is called but this can be fixed in another way:
The function data_to_eui48 in core/util.py needs to be changed:
data is no longer of type str but of type bytes.
Therefore the line
needs to be added.
A cleaner fix would be to search for all calls of sock.recvfrom(...) and change its output
The text was updated successfully, but these errors were encountered: