summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 2efc685..423c0b0 100644
--- a/app.py
+++ b/app.py
@@ -72,7 +72,7 @@ def run_traffic_env():
elif tool == "vxlan":
print(datetime.now().strftime("%Y-%m-%d %H:%M:%S"), str(datetime.now().microsecond)[:3], "Simulate vxlan traffic by tcpreplay.", flush=True)
print("to be added")
- elif tool == "":
+ elif tool == "trex":
print("Execute {} operation.".format(type))
pcap_name = json_data.get("pcap_name") + ".pcap"
yaml_name = json_data.get("yaml_name") + ".yaml"