From 002113460c411cab449c0d7dea824cea1a6c68e7 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Mon, 26 Aug 2013 11:52:42 +0200 Subject: fo srv: add priority to fo_server_info This will give SRV plugins all information needed for additional sorting. --- src/providers/fail_over_srv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/providers/fail_over_srv.c') 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); -- cgit