GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 26ff79a3 authored by Ana Custura's avatar Ana Custura Committed by Karsten Loesing

Fix matching of tor_circuit ids

parent 1a81b3df
......@@ -73,7 +73,7 @@ class Filtering(object):
for tor_stream in tor_streams_by_source_port[source_port]:
if abs(unix_ts_end - tor_stream["unix_ts_end"]) < 150.0:
circuit_id = tor_stream["circuit_id"]
if circuit_id and circuit_id in tor_circuits:
if circuit_id and str(circuit_id) in tor_circuits:
tor_circuit = tor_circuits[circuit_id]
path = tor_circuit["path"]
keep = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment