From aef394895d82d53ef512b2bfa1bd20dfda9e5677 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 27 Feb 2024 14:42:25 -0600 Subject: [PATCH] netconfig: Fix copy-paste error netconfig_domains_update() was setting dns_list instead of the domains member. --- src/netconfig-commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netconfig-commit.c b/src/netconfig-commit.c index 50dd6f33..d7fcfaba 100644 --- a/src/netconfig-commit.c +++ b/src/netconfig-commit.c @@ -311,7 +311,7 @@ static void netconfig_domains_update(struct netconfig *netconfig) resolve_set_domains(netconfig->resolve, domains); l_strv_free(netconfig->domains); - netconfig->dns_list = l_steal_ptr(domains); + netconfig->domains = l_steal_ptr(domains); } static void netconfig_rtnl_commit(struct netconfig *netconfig, uint8_t family,