From 33370bb1b3c05fc969778ad6ac03746cc7ecc008 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 14 Jan 2017 23:40:22 -0500 Subject: [PATCH] transit: mention tor when describing connections that use it --- src/wormhole/transit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wormhole/transit.py b/src/wormhole/transit.py index 4aa5972..eca9a85 100644 --- a/src/wormhole/transit.py +++ b/src/wormhole/transit.py @@ -811,6 +811,8 @@ class Common: if not ep: continue description = "->%s" % describe_hint_obj(hint_obj) + if self._tor_manager: + description = "tor" + description d = self._start_connector(ep, description) contenders.append(d) relay_delay = self.RELAY_DELAY @@ -836,6 +838,8 @@ class Common: if not ep: continue description = "->relay:%s" % describe_hint_obj(hint_obj) + if self._tor_manager: + description = "tor" + description d = task.deferLater(self._reactor, relay_delay, self._start_connector, ep, description, is_relay=True)