chiark / gitweb /
resolved: don't read DHCP leases
[elogind.git] / src / resolve / resolved-dns-server.h
index 781e237627c5bae329510dc093cc03ecc351698e..45a7c4ff3b7563b7fb0fc1cc776973d33857f364 100644 (file)
@@ -33,7 +33,6 @@ typedef enum DnsServerSource DnsServerSource;
 enum DnsServerSource {
         DNS_SERVER_SYSTEM,
         DNS_SERVER_LINK,
-        DNS_SERVER_DHCP,
         _DNS_SERVER_SOURCE_MAX
 };
 
@@ -43,7 +42,7 @@ struct DnsServer {
 
         Link *link;
 
-        unsigned char family;
+        int family;
         union in_addr_union address;
 
         bool marked:1;
@@ -54,9 +53,8 @@ struct DnsServer {
 int dns_server_new(
                 Manager *m,
                 DnsServer **s,
-                DnsServerSource source,
                 Link *l,
-                unsigned char family,
+                int family,
                 const union in_addr_union *address);
 
 DnsServer* dns_server_free(DnsServer *s);