Skip to content
Snippets Groups Projects
Commit 2f1df685 authored by Pierre LALET's avatar Pierre LALET
Browse files

Use appropriate config value to call tcpdump

parent 62173582
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ RTF_REJECT = 0x0200
LOOPBACK_NAME="lo"
with os.popen("tcpdump -V 2> /dev/null") as _f:
with os.popen("%s -V 2> /dev/null" % conf.prog.tcpdump) as _f:
if _f.close() >> 8 == 0x7f:
log_loading.warning("Failed to execute tcpdump. Check it is installed and in the PATH")
TCPDUMP=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment