summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-link.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve/resolved-link.h')
-rw-r--r--src/resolve/resolved-link.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resolve/resolved-link.h b/src/resolve/resolved-link.h
index a25715d269..eb00015bd5 100644
--- a/src/resolve/resolved-link.h
+++ b/src/resolve/resolved-link.h
@@ -34,6 +34,9 @@ typedef struct LinkAddress LinkAddress;
#include "resolved-dns-server.h"
#include "resolved-manager.h"
+#define LINK_SEARCH_DOMAINS_MAX 32
+#define LINK_DNS_SERVERS_MAX 32
+
struct LinkAddress {
Link *link;
@@ -58,8 +61,10 @@ struct Link {
LIST_HEAD(DnsServer, dns_servers);
DnsServer *current_dns_server;
+ unsigned n_dns_servers;
LIST_HEAD(DnsSearchDomain, search_domains);
+ unsigned n_search_domains;
Support llmnr_support;