diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-27 01:35:00 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-27 01:41:40 +0100 |
commit | f4461e5641d53f27d6e76e0607bdaa9c0c58c1f6 (patch) | |
tree | d48d31375aa1444f062e66c658d42f4271a39b80 /src/resolve/resolved-dns-transaction.c | |
parent | 519ef04651b07a547f010d6462603669d7fde4e5 (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.c | 2 |
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; |