summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-01-03 18:27:03 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-01-05 08:06:17 -0500
commit7daf6c9f7a0e583a1ba033bb858208b51358bf2f (patch)
tree625a559b46349be922ba21cbae1046fcf79e2dea
parent04f0cf2ce6140bcb3b38dccd4f9e44858b53a4fd (diff)
downloadsssd-7daf6c9f7a0e583a1ba033bb858208b51358bf2f.tar.gz
sssd-7daf6c9f7a0e583a1ba033bb858208b51358bf2f.tar.bz2
sssd-7daf6c9f7a0e583a1ba033bb858208b51358bf2f.zip
Use the right status when resetting service discovery
-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 2dabaa36..f7dfd5d4 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -1342,7 +1342,7 @@ void fo_reset_services(struct fo_ctx *fo_ctx)
fo_set_server_status(server, SERVER_NAME_NOT_RESOLVED);
fo_set_port_status(server, PORT_NEUTRAL);
if (server->srv_data != NULL) {
- set_srv_data_status(server->srv_data, SRV_NOT_RESOLVED);
+ set_srv_data_status(server->srv_data, SRV_NEUTRAL);
}
}
}