Blob Blame History Raw
From 95939e9831fb3d9a8f464ecff3377dd6027e0321 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek@redhat.com>
Date: Tue, 10 May 2016 14:11:36 +0200
Subject: [PATCH 04/18] FO: Set port to NOT_WORKING when trying a next server
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Resolves: https://fedorahosted.org/sssd/ticket/3009

Reviewed-by: Pavel Březina <pbrezina@redhat.com>
(cherry picked from commit c420ce830ac0b0b288a2a887ec2cfce5c748018c)
---
 src/providers/fail_over.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index e945c9924597c7addeeb11090e1c1aee5596cb71..1d88d2aa54bfdebd4b648e2b13fa8d03e2be3973 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -1546,7 +1546,7 @@ void fo_try_next_server(struct fo_service *service)
     service->active_server = 0;
 
     if (server->port_status == PORT_WORKING) {
-        server->port_status = PORT_NEUTRAL;
+        server->port_status = PORT_NOT_WORKING;
     }
 }
 
-- 
2.4.11