summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py')
-rw-r--r--scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py
index 30383469..b1b181c6 100644
--- a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py
+++ b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py
@@ -618,7 +618,7 @@ class CScapyTRexPktBuilder(CTrexPktBuilderInterface):
# process VM
if vm != None:
if not isinstance(vm, (CTRexScRaw, list)):
- raise CTRexPacketBuildException(-14, "bad value for variable pkt")
+ raise CTRexPacketBuildException(-14, "bad value for variable vm")
self.add_command(vm if isinstance(vm, CTRexScRaw) else CTRexScRaw(vm))