summaryrefslogtreecommitdiffstats
path: root/scripts/stl/profiles/syn_attack.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stl/profiles/syn_attack.py')
-rw-r--r--scripts/stl/profiles/syn_attack.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/scripts/stl/profiles/syn_attack.py b/scripts/stl/profiles/syn_attack.py
index 0df7a740..e3ed3d0e 100644
--- a/scripts/stl/profiles/syn_attack.py
+++ b/scripts/stl/profiles/syn_attack.py
@@ -1,15 +1,4 @@
-import sys
-import os
-
-# Should be removed
-# TBD fix this
-CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))
-API_PATH = os.path.join(CURRENT_PATH, "../../api/stl")
-sys.path.insert(0, API_PATH)
-
-from scapy.all import *
-from trex_stl_api import *
-
+from trex_control_plane.stl.api import *
class STLS1(object):
""" attack 48.0.0.1 at port 80