diff options
author | David Goulet <dgoulet@torproject.org> | 2019-05-02 08:58:58 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-05-02 08:58:58 -0400 |
commit | 77bd219808ac82c231aef37672e7fb212cd83d15 (patch) | |
tree | 4676cbbe7dbe6d554fe1d268b04cf7c467f5cb3e /src/core/or/sendme.c | |
parent | 535ba0d7c58c681af8251d0133b33dc5f787fb2f (diff) | |
download | tor-77bd219808ac82c231aef37672e7fb212cd83d15.tar.gz tor-77bd219808ac82c231aef37672e7fb212cd83d15.zip |
sendme: Improve logging messages
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/sendme.c')
-rw-r--r-- | src/core/or/sendme.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/or/sendme.c b/src/core/or/sendme.c index 6f451d38e6..70ff3798ba 100644 --- a/src/core/or/sendme.c +++ b/src/core/or/sendme.c @@ -129,8 +129,8 @@ cell_version_is_valid(uint8_t cell_version) /* Can we handle this version? */ if (accept_version > SENDME_MAX_SUPPORTED_VERSION) { log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL, - "Unable to handle SENDME version %u. We only support <= %d " - "(from consensus). Probably your tor is too old?", + "Unable to accept SENDME version %u (from consensus). " + "We only support <= %d. Probably your tor is too old?", accept_version, cell_version); goto invalid; } @@ -138,8 +138,7 @@ cell_version_is_valid(uint8_t cell_version) /* We only accept a SENDME cell from what the consensus tells us. */ if (cell_version < accept_version) { log_info(LD_PROTOCOL, "Unacceptable SENDME version %d. Only " - "accepting %u (taken from the consensus). " - "Closing circuit.", + "accepting %u (from consensus). Closing circuit.", cell_version, accept_version); goto invalid; } |