diff options
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/services/scapy_server/scapy_server.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/services/scapy_server/scapy_server.py b/scripts/automation/trex_control_plane/stl/services/scapy_server/scapy_server.py index ca09333c..14cc0bfe 100755 --- a/scripts/automation/trex_control_plane/stl/services/scapy_server/scapy_server.py +++ b/scripts/automation/trex_control_plane/stl/services/scapy_server/scapy_server.py @@ -214,6 +214,7 @@ class scapy_service: def get_all_pkt_offsets(self,pkt_desc): pkt_protocols = pkt_desc.split('/') scapy_pkt = eval(pkt_desc) + scapy_pkt.build() total_protocols = len(pkt_protocols) res = {} for i in range(total_protocols): |