From 88173f7a8bc14f21b47207ccdab6a4826b583918 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 19 Feb 2018 09:33:52 +1100 Subject: [PATCH] Logic fail. --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 2ef573f5..343a825a 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -4781,7 +4781,7 @@ static sdata_t *select_sdata(ckpool_t *ckp, sdata_t *ckp_sdata, const bool vmask global = ckp_sdata->proxy; /* If the client needs a version mask, only use sdata from pools with * one set. */ - if (vmask || ckp->version_mask) + if (!vmask || ckp->version_mask) best = global; HASH_ITER(hh, ckp_sdata->proxies, proxy, tmp) {