From b517b3b065c30123fbba774522327c47f31a8d81 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 19 Sep 2016 16:34:59 +1000 Subject: [PATCH] Logic error in choosing best proxy --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index db23b7eb..ff137832 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2678,7 +2678,7 @@ static void update_notify(ckpool_t *ckp, const char *cmd) if (proxy->global) { check_bestproxy(sdata); - if (proxy->parent == best_proxy(sdata)->parent) + if (proxy->parent != best_proxy(sdata)->parent) reconnect_clients(sdata); } else check_userproxies(sdata, proxy->userid);