summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 9c1db0f42d..21564707ca 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -756,6 +756,9 @@ typedef struct edge_connection_t {
uint16_t stream_id; /**< The stream ID used for this edge connection on its
* circuit */
+ /** The reason why this connection is closing; passed to the controller. */
+ uint16_t end_reason;
+
/** Quasi-global identifier for this connection; used for control.c */
/* XXXX NM This can get re-used after 2**32 streams */
uint32_t global_identifier;