diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-03-14 13:37:44 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-03-14 13:37:44 +0200 |
commit | d82201e2da3beb0e81e0c8ba30600d87f1b8276f (patch) | |
tree | 0fadfe1cbedba4c0a56b0aba49cf54c531c4f02e /scripts/stl/udp_inc_len_9k.py | |
parent | 33386099a94c8940616cdd9c3f674f0ee63d8af6 (diff) |
some cleanup for API doc
Diffstat (limited to 'scripts/stl/udp_inc_len_9k.py')
-rw-r--r-- | scripts/stl/udp_inc_len_9k.py | 2 |
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 |