diff options
-rw-r--r-- | src/providers/fail_over_srv.c | 1 | ||||
-rw-r--r-- | src/providers/fail_over_srv.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/fail_over_srv.c b/src/providers/fail_over_srv.c index 76f6d468..de3b7f9c 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 568350d1..c4b50ba3 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; }; /* |