From d82201e2da3beb0e81e0c8ba30600d87f1b8276f Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Mon, 14 Mar 2016 13:37:44 +0200 Subject: some cleanup for API doc --- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py index 4529efa9..2a8bedb8 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py @@ -1,7 +1,7 @@ from collections import namedtuple, OrderedDict -from trex_stl_packet_builder_scapy import CScapyTRexPktBuilder +from trex_stl_packet_builder_scapy import STLPktBuilder from trex_stl_streams import STLStream import base64 import trex_stl_stats @@ -576,7 +576,7 @@ class Port(object): # lazy build scapy repr. if not 'pkt_type' in obj: - obj['pkt_type'] = CScapyTRexPktBuilder.pkt_layers_desc_from_buffer(obj['pkt']) + obj['pkt_type'] = STLPktBuilder.pkt_layers_desc_from_buffer(obj['pkt']) data[id] = OrderedDict([ ('id', id), ('packet_type', obj['pkt_type']), -- cgit 1.2.3-korg