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 --- scripts/stl/udp_inc_len_9k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/stl/udp_inc_len_9k.py') 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 -- cgit 1.2.3-korg