Merge branch 'maint-0.4.5' into maint-0.4.6

This commit is contained in:
Nick Mathewson
2021-05-17 09:04:22 -04:00
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -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;