diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py | 5 |
1 files changed, 2 insertions, 3 deletions
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 d0092533..42b7b89b 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 @@ -2,7 +2,7 @@ from collections import namedtuple, OrderedDict from .trex_stl_packet_builder_scapy import STLPktBuilder -from .trex_stl_streams import STLStream, STLTXSingleBurst +from .trex_stl_streams import STLStream from .trex_stl_types import * from .trex_stl_rx_features import ARPResolver, PingResolver from . import trex_stl_stats @@ -577,8 +577,7 @@ class Port(object): for i in range(len(pkts)): pkts[i]['binary'] = base64.b64decode(pkts[i]['binary']) - - return pkts + return RC_OK(pkts) @owned |