summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-05-17 09:04:22 -0400
committerNick Mathewson <nickm@torproject.org>2021-05-17 09:04:22 -0400
commit3630649b7900c8b98c12b6b147b99b5b33ba58ec (patch)
tree3ce449fd6427311c0bee9fa2ea1e85ee59eca71a /src
parent086f01e224a3118d83d8b5a14d5dc27d9af41d0a (diff)
parentfbd47a50783c79a553510091df09dce7632e02f6 (diff)
downloadtor-3630649b7900c8b98c12b6b147b99b5b33ba58ec.tar.gz
tor-3630649b7900c8b98c12b6b147b99b5b33ba58ec.zip
Merge branch 'maint-0.4.6' into release-0.4.6
Diffstat (limited to 'src')
-rw-r--r--src/core/mainloop/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 9c6da1295f..b17d7bf2bd 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -4943,6 +4943,7 @@ connection_is_listener(connection_t *conn)
conn->type == CONN_TYPE_AP_NATD_LISTENER ||
conn->type == CONN_TYPE_AP_HTTP_CONNECT_LISTENER ||
conn->type == CONN_TYPE_DIR_LISTENER ||
+ conn->type == CONN_TYPE_METRICS_LISTENER ||
conn->type == CONN_TYPE_CONTROL_LISTENER)
return 1;
return 0;