summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 5da9316f18..66723d4dd0 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -478,7 +478,8 @@ command_process_versions_cell(var_cell_t *cell, or_connection_t *conn)
connection_mark_for_close(TO_CONN(conn));
return;
} else if (highest_supported_version == 1) {
- /*XXXXX020 consider this carefully. */
+ /* Negotiating version 1 makes no sense, since version 1 has no VERSIONS
+ * cells. */
log_fn(LOG_PROTOCOL_WARN, LD_OR,
"Used version negotiation protocol to negotiate a v1 connection. "
"That's crazily non-compliant. Closing connection.");