summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/fail_over.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index 7fed7cce1..faff32f77 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -542,6 +542,7 @@ fo_add_srv_server(struct fo_service *service, const char *srv,
server->user_data = user_data;
server->service = service;
server->port_status = DEFAULT_PORT_STATUS;
+ server->primary = true; /* SRV servers are never back up */
/* add the SRV-specific data */
server->srv_data = talloc_zero(service, struct srv_data);