summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-05-10 14:11:36 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-07-12 11:56:52 +0200
commitc420ce830ac0b0b288a2a887ec2cfce5c748018c (patch)
treea12e8c911213017997d48137b0e649cfca493bc0
parent9dc66cb6b96a885f7272a3c4aa6a44d60cdce82c (diff)
downloadsssd-c420ce830ac0b0b288a2a887ec2cfce5c748018c.zip
sssd-c420ce830ac0b0b288a2a887ec2cfce5c748018c.tar.gz
sssd-c420ce830ac0b0b288a2a887ec2cfce5c748018c.tar.xz
FO: Set port to NOT_WORKING when trying a next server
Resolves: https://fedorahosted.org/sssd/ticket/3009 Reviewed-by: Pavel Březina <pbrezina@redhat.com>
-rw-r--r--src/providers/fail_over.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index e945c99..1d88d2a 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;
}
}