Closed lcongdon closed 3 years ago
from_stream method of the Packet class fails when getting the packet_class from the _type_to_class dictionary because header is a bytearray and not hashable. This change makes header hashable and corrects the error.
from_stream
Packet
packet_class
_type_to_class
header
from_stream
method of thePacket
class fails when getting thepacket_class
from the_type_to_class
dictionary becauseheader
is a bytearray and not hashable. This change makesheader
hashable and corrects the error.