diff options
author | des <des@FreeBSD.org> | 2015-01-02 17:35:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2015-01-02 17:35:29 +0000 |
commit | 66adf32aa226b0a370ce7df84ac814cbc72ae63b (patch) | |
tree | b839bbb75392ad4c301a0393b3ca49fe155c5740 /pythonmod | |
parent | a9c863d6cf252d2520e01a9e2ace89256831bf7a (diff) | |
download | FreeBSD-src-66adf32aa226b0a370ce7df84ac814cbc72ae63b.zip FreeBSD-src-66adf32aa226b0a370ce7df84ac814cbc72ae63b.tar.gz |
import unbound 1.5.1
Diffstat (limited to 'pythonmod')
-rw-r--r-- | pythonmod/pythonmod_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pythonmod/pythonmod_utils.c b/pythonmod/pythonmod_utils.c index 2f38480..1091dcf 100644 --- a/pythonmod/pythonmod_utils.c +++ b/pythonmod/pythonmod_utils.c @@ -67,7 +67,7 @@ int storeQueryInCache(struct module_qstate* qstate, struct query_info* qinfo, st } return dns_cache_store(qstate->env, qinfo, msgrep, is_referral, - qstate->prefetch_leeway, 0, NULL); + qstate->prefetch_leeway, 0, NULL, qstate->query_flags); } /* Invalidate the message associated with query_info stored in message cache */ @@ -78,7 +78,7 @@ void invalidateQueryInCache(struct module_qstate* qstate, struct query_info* qin struct reply_info *r; size_t i, j; - h = query_info_hash(qinfo); + h = query_info_hash(qinfo, qstate->query_flags); if ((e=slabhash_lookup(qstate->env->msg_cache, h, qinfo, 0))) { r = (struct reply_info*)(e->data); |