diff --git a/src/local.c b/src/local.c index 6a7c5417..c3b7a7b3 100644 --- a/src/local.c +++ b/src/local.c @@ -244,7 +244,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents) return; } - if (remote->send_ctx->connected && auth) { + if (!remote->direct && remote->send_ctx->connected && auth) { remote->buf = ss_gen_hash(remote->buf, &r, remote->hash_buf, &remote->hash_idx, BUF_SIZE); }