3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

netconfig: Fix copy-paste error

netconfig_domains_update() was setting dns_list instead of the domains
member.
This commit is contained in:
Denis Kenzior 2024-02-27 14:42:25 -06:00
parent cdbd59103e
commit aef394895d

View File

@ -311,7 +311,7 @@ static void netconfig_domains_update(struct netconfig *netconfig)
resolve_set_domains(netconfig->resolve, domains); resolve_set_domains(netconfig->resolve, domains);
l_strv_free(netconfig->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, static void netconfig_rtnl_commit(struct netconfig *netconfig, uint8_t family,