diff options
author | Tom Gundersen <teg@jklm.no> | 2014-07-23 23:10:00 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-07-23 23:54:52 +0200 |
commit | 6073b6f26ab9fc6bf335faa7073ec443eef093fd (patch) | |
tree | d851475cf1dc89b22f454d1577dd976196b4ef88 /src/resolve/resolved-dns-server.h | |
parent | b0e39c8284b5195850a58e4efcce2f059bdcc6ad (diff) |
resolved: don't read DHCP leases
networkd will expose both statically configured DNS servers and servers
receieved over DHCP in sd_network_get_dns(), so no need to keep
the distinction in resolved.
Diffstat (limited to 'src/resolve/resolved-dns-server.h')
-rw-r--r-- | src/resolve/resolved-dns-server.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-server.h b/src/resolve/resolved-dns-server.h index 2b0b99649d..45a7c4ff3b 100644 --- a/src/resolve/resolved-dns-server.h +++ b/src/resolve/resolved-dns-server.h @@ -33,7 +33,6 @@ typedef enum DnsServerSource DnsServerSource; enum DnsServerSource { DNS_SERVER_SYSTEM, DNS_SERVER_LINK, - DNS_SERVER_DHCP, _DNS_SERVER_SOURCE_MAX }; @@ -54,7 +53,6 @@ struct DnsServer { int dns_server_new( Manager *m, DnsServer **s, - DnsServerSource source, Link *l, int family, const union in_addr_union *address); |