summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-search-domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve/resolved-dns-search-domain.c')
-rw-r--r--src/resolve/resolved-dns-search-domain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/resolve/resolved-dns-search-domain.c b/src/resolve/resolved-dns-search-domain.c
index f9d966abb1..356c05b9a4 100644
--- a/src/resolve/resolved-dns-search-domain.c
+++ b/src/resolve/resolved-dns-search-domain.c
@@ -42,9 +42,6 @@ int dns_search_domain_new(
if (r < 0)
return r;
- if (dns_name_is_root(normalized))
- return -EINVAL;
-
if (l) {
if (l->n_search_domains >= LINK_SEARCH_DOMAINS_MAX)
return -E2BIG;