From 3042dd6a0656d2dbdb6a36b6b679ae6a070e58c8 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 21 Sep 2015 19:01:21 +0800 Subject: [PATCH] fix an issue of ACL --- src/local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }