summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2013-07-10 17:39:00 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-11 00:23:46 +0200
commitf6693151b0959f079271f5ab3976befb02ea91a9 (patch)
treeb3bdef815bf8cd5705ec422776466b17efe4130f
parent0c0f91311fd2a947992914d8bca644cd1eb4298b (diff)
downloadsssd-f6693151b0959f079271f5ab3976befb02ea91a9.tar.gz
sssd-f6693151b0959f079271f5ab3976befb02ea91a9.tar.bz2
sssd-f6693151b0959f079271f5ab3976befb02ea91a9.zip
Always set port status to neutral when resetting service.
We did not set port status for metaservers (srv servers) in fo_reset_services(). Fixes: https://fedorahosted.org/sssd/ticket/1933
-rw-r--r--src/providers/fail_over.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index fdc42dec..537a9aa9 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -1534,8 +1534,9 @@ void fo_reset_services(struct fo_ctx *fo_ctx)
set_srv_data_status(server->srv_data, SRV_NEUTRAL);
} else {
fo_set_server_status(server, SERVER_NAME_NOT_RESOLVED);
- fo_set_port_status(server, PORT_NEUTRAL);
}
+
+ fo_set_port_status(server, PORT_NEUTRAL);
}
}
}