Skip to content

Commit

Permalink
Use appropriate config value to call tcpdump
Browse files Browse the repository at this point in the history
  • Loading branch information
p-l- committed Jan 21, 2016
1 parent 6217358 commit 2f1df68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scapy/arch/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

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
Expand Down

0 comments on commit 2f1df68

Please sign in to comment.