summaryrefslogtreecommitdiffstats
path: root/scripts/stl/udp_inc_len_9k.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stl/udp_inc_len_9k.py')
-rw-r--r--scripts/stl/udp_inc_len_9k.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/stl/udp_inc_len_9k.py b/scripts/stl/udp_inc_len_9k.py
index 09df305a..b76b9fb7 100644
--- a/scripts/stl/udp_inc_len_9k.py
+++ b/scripts/stl/udp_inc_len_9k.py
@@ -18,7 +18,7 @@ class STLS1(object):
# vm
- vm = CTRexScRaw( [ STLVmFlowVar(name="fv_rand", min_value=64, max_value=len(base_pkt), size=2, op="inc"),
+ vm = STLScVmRaw( [ STLVmFlowVar(name="fv_rand", min_value=64, max_value=len(base_pkt), size=2, op="inc"),
STLVmTrimPktSize("fv_rand"), # total packet size
STLVmWrFlowVar(fv_name="fv_rand", pkt_offset= "IP.len", add_val=l3_len_fix), # fix ip len
STLVmFixIpv4(offset = "IP"), # fix checksum