Closed freddy36 closed 9 years ago
iaid is incorrectly unpacked (wrong endianess and as signed integer), it should be: self.iaid = struct.unpack('<I', self.host_identifier[0:4])[0] instead of self.iaid = struct.unpack('>i', self.host_identifier[0:4])[0
self.iaid = struct.unpack('<I', self.host_identifier[0:4])[0]
self.iaid = struct.unpack('>i', self.host_identifier[0:4])[0
Oops, changed it
iaid is incorrectly unpacked (wrong endianess and as signed integer), it should be:
self.iaid = struct.unpack('<I', self.host_identifier[0:4])[0]
instead ofself.iaid = struct.unpack('>i', self.host_identifier[0:4])[0