aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop/connection.c
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
commitfbd47a50783c79a553510091df09dce7632e02f6 (patch)
tree0464c146215e0f56c4a7096867e1e727ff7f4f4d /src/core/mainloop/connection.c
parent8851861ff087efe3ab95069952ab93108dbb6bf1 (diff)
parent5f009a59dab69f4e46572e2ef4fd40b1bb053d67 (diff)
downloadtor-fbd47a50783c79a553510091df09dce7632e02f6.tar.gz
tor-fbd47a50783c79a553510091df09dce7632e02f6.zip
Merge branch 'maint-0.4.5' into maint-0.4.6
Diffstat (limited to 'src/core/mainloop/connection.c')
-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;