[PATCH] netconfig: Fix copy-paste error

Denis Kenzior
2024-02-27T20:42:44Z

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 50dd6f3304de..d7fcfaba76dd 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,
--
2.43.0