summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-02-25 10:26:21 -0500
committerimarom <imarom@cisco.com>2016-02-25 10:26:21 -0500
commit032480933eaa065761ac1d5d27b96bced93d5343 (patch)
treecbe44d33b1d6ae7d566c302dee910cc717e3b167 /scripts/automation/trex_control_plane/stl
parentaaef3f95683bfa1574537c543e4ffc86afb0480f (diff)
accident - fixed problems from previous commit
Diffstat (limited to 'scripts/automation/trex_control_plane/stl')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
index 90a17ce2..76e6898c 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
@@ -1671,7 +1671,7 @@ class STLClient(object):
raise STLArgumentError('ports', ports, valid_values = self.get_all_ports())
# check arguments
- validate_type('promiscuous', promiscuous, bool)
+ validate_type('promiscuous', promiscuous, (bool, NoneType))
# build attributes
attr_dict = {}