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)
This commit is contained in:
Jacek Migacz 2022-12-20 15:26:12 +01:00 committed by Luca Boccassi
parent 34f78e7e14
commit 688bc823e2

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;