diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-24 16:48:13 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-25 21:58:37 +0100 |
commit | 636e813dc98ea40c58c6c85bc5e7e3c9f0904ea2 (patch) | |
tree | 4ea8f8a918f6efc364944503c25e909c86b8a791 /src/resolve/resolved-gperf.gperf | |
parent | e3528a5c46c815974d4d17ea9964278f7ee9caae (diff) |
resolved: unify code for parsing dns server information
Let's use the same parser when parsing dns server information from
/etc/resolv.conf and our native configuration file.
Also, move all code that manages lists of dns servers to a single place.
resolved-dns-server.c
Diffstat (limited to 'src/resolve/resolved-gperf.gperf')
-rw-r--r-- | src/resolve/resolved-gperf.gperf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/resolved-gperf.gperf b/src/resolve/resolved-gperf.gperf index 8e78fbf06a..dc4ef74b8c 100644 --- a/src/resolve/resolved-gperf.gperf +++ b/src/resolve/resolved-gperf.gperf @@ -14,6 +14,6 @@ struct ConfigPerfItem; %struct-type %includes %% -Resolve.DNS, config_parse_dnsv, DNS_SERVER_SYSTEM, 0 -Resolve.FallbackDNS, config_parse_dnsv, DNS_SERVER_FALLBACK, 0 -Resolve.LLMNR, config_parse_support, 0, offsetof(Manager, llmnr_support) +Resolve.DNS, config_parse_dns_servers, DNS_SERVER_SYSTEM, 0 +Resolve.FallbackDNS, config_parse_dns_servers, DNS_SERVER_FALLBACK, 0 +Resolve.LLMNR, config_parse_support, 0, offsetof(Manager, llmnr_support) |