From afefddfa387dad83bbcb15812bd279cf3197f583 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 8 Mar 2016 10:28:20 +0200 Subject: regression: add stateless support (WIP); Scapy builder: fix remove MACs from binary, do not build by default; --- .../trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py index 7fc132b1..eba9c580 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py @@ -189,7 +189,7 @@ class STLStream(object): if mac_src_override_by_pkt == None: int_mac_src_override_by_pkt=0 if packet : - if packet.is_def_src_mac ()==False: + if packet.is_default_src_mac ()==False: int_mac_src_override_by_pkt=1 else: @@ -198,7 +198,7 @@ class STLStream(object): if mac_dst_override_mode == None: int_mac_dst_override_mode = 0; if packet : - if packet.is_def_dst_mac ()==False: + if packet.is_default_dst_mac ()==False: int_mac_dst_override_mode=STLStreamDstMAC_PKT else: int_mac_dst_override_mode = int(mac_dst_override_mode); -- cgit 1.2.3-korg