diff options
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 1867aec0d9..cb96bf39d6 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -739,7 +739,8 @@ hibernate_go_dormant(time_t now) { (conn = connection_get_by_type(CONN_TYPE_AP)) || (conn = connection_get_by_type(CONN_TYPE_EXIT))) { if (CONN_IS_EDGE(conn)) - connection_edge_end(conn, END_STREAM_REASON_MISC, conn->cpath_layer); + connection_edge_end(conn, END_STREAM_REASON_HIBERNATING, + conn->cpath_layer); log_fn(LOG_INFO,"Closing conn type %d", conn->type); connection_mark_for_close(conn); } |