diff options
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c index 738bf35d9c..a511156318 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -689,6 +689,13 @@ command_process_versions_cell(var_cell_t *cell, or_connection_t *conn) send_chall ? " AUTH_CHALLENGE" : "", send_netinfo ? " NETINFO" : ""); +#ifdef DISABLE_V3_LINKPROTO_SERVERSIDE + if (1) { + connection_mark_for_close(TO_CONN(conn)); + return; + } +#endif + if (send_versions) { if (connection_or_send_versions(conn, 1) < 0) { log_warn(LD_OR, "Couldn't send versions cell"); |