* [PATCH] netconfig: Fix copy-paste error
@ 2024-02-27 20:42 Denis Kenzior
2024-02-28 17:51 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Denis Kenzior @ 2024-02-27 20:42 UTC (permalink / raw)
To: iwd; +Cc: Denis Kenzior
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-28 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27 20:42 [PATCH] netconfig: Fix copy-paste error Denis Kenzior
2024-02-28 17:51 ` Denis Kenzior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox