1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

resolve: fix enumerator name for DNS search domain

(cherry picked from commit 8b23242989)
(cherry picked from commit ec82fdc645)
(cherry picked from commit 688bc823e2)
This commit is contained in:
Jacek Migacz 2022-12-20 15:26:12 +01:00 committed by Luca Boccassi
parent d9960ebfdf
commit f5edfc783b

View File

@ -52,7 +52,7 @@ int dns_search_domain_new(
l->n_search_domains++;
break;
case DNS_SERVER_SYSTEM:
case DNS_SEARCH_DOMAIN_SYSTEM:
LIST_APPEND(domains, m->search_domains, d);
m->n_search_domains++;
break;