diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-03-10 10:07:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-03-10 10:07:41 -0400 |
commit | d29a8ad564757866dee8d2cbd940c5028a03f2e3 (patch) | |
tree | 23ed85f8b159baee2037d43f0e2571da70f66fd2 /src/or/status.c | |
parent | 99b59dee7046b04854ac263a1cf810dceb80df12 (diff) | |
download | tor-d29a8ad564757866dee8d2cbd940c5028a03f2e3.tar.gz tor-d29a8ad564757866dee8d2cbd940c5028a03f2e3.zip |
Add link protocol version counts to the heartbeat message
Closes ticket 15212
Diffstat (limited to 'src/or/status.c')
-rw-r--r-- | src/or/status.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/status.c b/src/or/status.c index 2acdd28249..8f7be0aa3c 100644 --- a/src/or/status.c +++ b/src/or/status.c @@ -136,8 +136,10 @@ log_heartbeat(time_t now) "Average packaged cell fullness: %2.3f%%. " "TLS write overhead: %.f%%", fullness_pct, overhead_pct); - if (public_server_mode(options)) + if (public_server_mode(options)) { rep_hist_log_circuit_handshake_stats(now); + rep_hist_log_link_protocol_counts(); + } circuit_log_ancient_one_hop_circuits(1800); |