aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/feature/client/transports.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/feature/client/transports.c b/src/feature/client/transports.c
index 416e538efc..77cee25c54 100644
--- a/src/feature/client/transports.c
+++ b/src/feature/client/transports.c
@@ -1786,9 +1786,21 @@ pt_get_extra_info_descriptor_string(void)
"transport %s %s%s",
t->name, addrport,
transport_args ? transport_args : "");
+
tor_free(transport_args);
} SMARTLIST_FOREACH_END(t);
+ if (mp->version != NULL) {
+ smartlist_add_asprintf(string_chunks,
+ "transport-version %s",
+ mp->version);
+ }
+
+ if (mp->implementation != NULL) {
+ smartlist_add_asprintf(string_chunks,
+ "transport-implementation %s",
+ mp->implementation);
+ }
} SMARTLIST_FOREACH_END(mp);
if (smartlist_len(string_chunks) == 0) {