From 12c3136b9c6ab9ef370ab06e082a4e5c55b6baa6 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 12 Jul 2015 17:14:08 +0800 Subject: [PATCH] fix a typo --- src/udprelay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udprelay.c b/src/udprelay.c index 8d1172b6..419a5de3 100644 --- a/src/udprelay.c +++ b/src/udprelay.c @@ -521,7 +521,7 @@ static void query_resolve_cb(struct sockaddr *addr, void *data) // Lookup in the conn cache if (remote_ctx == NULL) { char *key = hash_key(0, &query_ctx->src_addr); - cache_lookup(conn_cache, key, (void *)&remote_ctx); + cache_lookup(query_ctx->server_ctx->conn_cache, key, (void *)&remote_ctx); } if (remote_ctx == NULL) {