summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-transaction.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-27 01:35:00 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-27 01:41:40 +0100
commitf4461e5641d53f27d6e76e0607bdaa9c0c58c1f6 (patch)
treed48d31375aa1444f062e66c658d42f4271a39b80 /src/resolve/resolved-dns-transaction.c
parent519ef04651b07a547f010d6462603669d7fde4e5 (diff)
resolved: rename "features" variables to "feature_level"
The name "features" suggests an orthogonal bitmap or suchlike, but the variables really encode only a linear set of feature levels. The type used is already called DnsServerFeatureLevel, hence fix up the variables accordingly, too.
Diffstat (limited to 'src/resolve/resolved-dns-transaction.c')
-rw-r--r--src/resolve/resolved-dns-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c
index 97aceae381..3ca4a5ab74 100644
--- a/src/resolve/resolved-dns-transaction.c
+++ b/src/resolve/resolved-dns-transaction.c
@@ -318,7 +318,7 @@ static int dns_transaction_pick_server(DnsTransaction *t) {
if (!server)
return -ESRCH;
- t->current_features = dns_server_possible_features(server);
+ t->current_features = dns_server_possible_feature_level(server);
if (server == t->server)
return 0;