summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-09-24 02:35:03 +0300
committerDan Klein <danklei@cisco.com>2015-09-24 02:35:03 +0300
commited46f126c90da83929625a89b5438a11f0e75401 (patch)
treee48c5392abe431c3428d598490965096b66bae59 /scripts/automation/trex_control_plane/client_utils
parent186ca35e6ceabfeea7c0899a5ad50158f669243f (diff)
Cosmetics over packet builder module
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rw-r--r--scripts/automation/trex_control_plane/client_utils/packet_builder.py1
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: