[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Properly represent also the packets that are sent



commit 8215d8807b3f6c43c766baf4a04f454d83038eea
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
Date:   Fri Apr 29 10:51:08 2016 +0200

    Properly represent also the packets that are sent
---
 ooni/templates/scapyt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/templates/scapyt.py b/ooni/templates/scapyt.py
index f4b6280..2bb9139 100644
--- a/ooni/templates/scapyt.py
+++ b/ooni/templates/scapyt.py
@@ -148,7 +148,7 @@ class BaseScapyTest(NetTestCase):
 
         scapySender.stopSending()
         for sent_packet in packets:
-            self.report['sent_packets'].append(sent_packet)
+            self.report['sent_packets'].append(_representPacket(sent_packet))
 
 
 ScapyTest = BaseScapyTest



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits