diff options
author | Michal Zidek <mzidek@redhat.com> | 2013-07-10 17:39:00 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-07-11 00:23:46 +0200 |
commit | f6693151b0959f079271f5ab3976befb02ea91a9 (patch) | |
tree | b3bdef815bf8cd5705ec422776466b17efe4130f /src | |
parent | 0c0f91311fd2a947992914d8bca644cd1eb4298b (diff) | |
download | sssd-f6693151b0959f079271f5ab3976befb02ea91a9.tar.gz sssd-f6693151b0959f079271f5ab3976befb02ea91a9.tar.xz 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
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/fail_over.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c index fdc42dec1..537a9aa95 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); } } } |