diff --git a/bin/send_udp_packet_v4.py b/bin/send_udp_packet_v4.py index 5e51d9e..04a3d2f 100644 --- a/bin/send_udp_packet_v4.py +++ b/bin/send_udp_packet_v4.py @@ -14,7 +14,7 @@ if __name__ == '__main__': pkg = e / i / u / d - packet_rebuild = packet.__class__(str(pkg)) + packet_rebuild = pkg.__class__(str(pkg)) print("pkg = {}".format(pkg.__repr__())) print("checksum = {}".format(packet_rebuild[UDP].chksum))