From 04fecbc6acbf07ddac6a48a542eb86a916007ba7 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Wed, 3 Feb 2016 00:02:58 +0200 Subject: scapy builder typo --- .../automation/trex_control_plane/client_utils/scapy_packet_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/client_utils') diff --git a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py index d8817de9..e9b94675 100644 --- a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py +++ b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py @@ -183,7 +183,7 @@ class CTRexVmInsBase(object): class CTRexVmInsFixIpv4(CTRexVmInsBase): def __init__(self, offset): super(CTRexVmInsFixIpv4, self).__init__("fix_checksum_ipv4") - self.offset = offset + self.pkt_offset = offset assert type(offset)==int, 'type of offset is not int' -- cgit 1.2.3-korg