[tor-commits] [ooni-probe/master] Return something in txscapy
art at torproject.org
art at torproject.org
Fri Mar 1 11:33:46 UTC 2013
commit de1c529ef81aac1912ce281840b801cd7cae5be7
Author: Arturo Filastò <art at fuffa.org>
Date: Thu Feb 28 16:46:51 2013 +0100
Return something in txscapy
---
ooni/utils/txscapy.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ooni/utils/txscapy.py b/ooni/utils/txscapy.py
index 84e69a6..87c0b4a 100644
--- a/ooni/utils/txscapy.py
+++ b/ooni/utils/txscapy.py
@@ -54,6 +54,8 @@ def pcapdnet_installed():
log.err("Your platform requires to having libdnet and libpcap installed.")
raise LibraryNotInstalledError
+ return config.pcap_dnet
+
if pcapdnet_installed():
from scapy.all import PcapWriter
More information about the tor-commits
mailing list