summaryrefslogtreecommitdiffstats
path: root/scripts/external_libs
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-06-02 14:17:38 +0300
committerimarom <imarom@cisco.com>2016-06-02 14:17:38 +0300
commit8898b74ac605224ff254e66308ef68a133360bf5 (patch)
tree8ad6727d42f16907c6b66b04117ea139a1233d0b /scripts/external_libs
parent8feef53b5a272ec7a72f05d1a633d2a18071b775 (diff)
remove TCPDUMP run from scapy
Diffstat (limited to 'scripts/external_libs')
-rw-r--r--scripts/external_libs/scapy-2.3.1/python2/scapy/arch/linux.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/scripts/external_libs/scapy-2.3.1/python2/scapy/arch/linux.py b/scripts/external_libs/scapy-2.3.1/python2/scapy/arch/linux.py
index 32f0a2d1..729ab3fd 100644
--- a/scripts/external_libs/scapy-2.3.1/python2/scapy/arch/linux.py
+++ b/scripts/external_libs/scapy-2.3.1/python2/scapy/arch/linux.py
@@ -69,13 +69,14 @@ RTF_REJECT = 0x0200
LOOPBACK_NAME="lo"
-with os.popen("tcpdump -V 2> /dev/null") as _f:
- if _f.close() >> 8 == 0x7f:
- log_loading.warning("Failed to execute tcpdump. Check it is installed and in the PATH")
- TCPDUMP=0
- else:
- TCPDUMP=1
-del(_f)
+#with os.popen("tcpdump -V 2> /dev/null") as _f:
+# if _f.close() >> 8 == 0x7f:
+# log_loading.warning("Failed to execute tcpdump. Check it is installed and in the PATH")
+# TCPDUMP=0
+# else:
+# TCPDUMP=1
+#del(_f)
+TCPDUMP=0
def get_if_raw_hwaddr(iff):