summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/serverid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c
index 8d6dc1f889..61860977cf 100644
--- a/source3/lib/serverid.c
+++ b/source3/lib/serverid.c
@@ -300,6 +300,10 @@ bool serverids_exist(const struct server_id *ids, int num_ids, bool *results)
for (idx=0; idx<num_ids; idx++) {
results[idx] = false;
+ if (server_id_is_disconnected(&ids[idx])) {
+ continue;
+ }
+
if (procid_is_me(&ids[idx])) {
results[idx] = true;
continue;