From 831933425b3406310e70476dc56e822f7ae3c549 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Thu, 4 Dec 2014 23:10:49 +0200 Subject: update unbound from upstream --- external/unbound/daemon/worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external/unbound/daemon/worker.c') diff --git a/external/unbound/daemon/worker.c b/external/unbound/daemon/worker.c index f90676213..59ae9dfce 100644 --- a/external/unbound/daemon/worker.c +++ b/external/unbound/daemon/worker.c @@ -935,7 +935,7 @@ worker_handle_request(struct comm_point* c, void* arg, int error, &repinfo->addr, repinfo->addrlen); goto send_reply; } - h = query_info_hash(&qinfo); + h = query_info_hash(&qinfo, sldns_buffer_read_u16_at(c->buffer, 2)); if((e=slabhash_lookup(worker->env.msg_cache, h, &qinfo, 0))) { /* answer from cache - we have acquired a readlock on it */ if(answer_from_cache(worker, &qinfo, -- cgit v1.2.3