summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/fail_over_srv.c1
-rw-r--r--src/providers/fail_over_srv.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/fail_over_srv.c b/src/providers/fail_over_srv.c
index 76f6d4689..de3b7f9ce 100644
--- a/src/providers/fail_over_srv.c
+++ b/src/providers/fail_over_srv.c
@@ -124,6 +124,7 @@ static void fo_discover_srv_done(struct tevent_req *subreq)
record = record->next, i++) {
state->servers[i].host = talloc_steal(state->servers, record->host);
state->servers[i].port = record->port;
+ state->servers[i].priority = record->priority;
}
talloc_zfree(reply_list);
diff --git a/src/providers/fail_over_srv.h b/src/providers/fail_over_srv.h
index 568350d1e..c4b50ba33 100644
--- a/src/providers/fail_over_srv.h
+++ b/src/providers/fail_over_srv.h
@@ -31,6 +31,7 @@
struct fo_server_info {
char *host;
int port;
+ unsigned short priority;
};
/*