diff options
Diffstat (limited to 'scripts/automation')
-rw-r--r-- | scripts/automation/trex_control_plane/client_utils/packet_builder.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/packet_builder.py b/scripts/automation/trex_control_plane/client_utils/packet_builder.py index 8fd74b1c..9adf7b1d 100644 --- a/scripts/automation/trex_control_plane/client_utils/packet_builder.py +++ b/scripts/automation/trex_control_plane/client_utils/packet_builder.py @@ -406,6 +406,7 @@ class CTRexPktBuilder(object): def _calc_offset(self, layer_name, hdr_field): pkt_header = self._pkt_by_hdr.get(layer_name) hdr_offset = len(self._packet) - len(pkt_header) + print hdr_offset inner_hdr_offsets = [] for field in pkt_header.__hdr__: if field[0] == hdr_field: |