diff mbox series

netconfig: Fix copy-paste error

Message ID 20240227204242.1509980-1-denkenz@gmail.com (mailing list archive)
State New
Headers show
Series netconfig: Fix copy-paste error | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-alpine-ci-fetch success Fetch PR
prestwoj/iwd-ci-gitlint success GitLint
prestwoj/iwd-ci-fetch success Fetch PR
prestwoj/iwd-alpine-ci-makedistcheck success Make Distcheck
prestwoj/iwd-alpine-ci-incremental_build success Incremental build not run PASS
prestwoj/iwd-ci-makedistcheck success Make Distcheck
prestwoj/iwd-ci-incremental_build success Incremental build not run PASS
prestwoj/iwd-alpine-ci-build success Build - Configure
prestwoj/iwd-ci-build success Build - Configure
prestwoj/iwd-alpine-ci-makecheckvalgrind success Make Check w/Valgrind
prestwoj/iwd-alpine-ci-makecheck success Make Check
prestwoj/iwd-ci-makecheck success Make Check
prestwoj/iwd-ci-makecheckvalgrind success Make Check w/Valgrind
prestwoj/iwd-ci-clang success clang PASS
prestwoj/iwd-ci-testrunner fail test-runner - FAIL: testNetconfig

Commit Message

Denis Kenzior Feb. 27, 2024, 8:42 p.m. UTC
netconfig_domains_update() was setting dns_list instead of the domains
member.
---
 src/netconfig-commit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Denis Kenzior Feb. 28, 2024, 5:51 p.m. UTC | #1
On 2/27/24 14:42, Denis Kenzior wrote:
> netconfig_domains_update() was setting dns_list instead of the domains
> member.
> ---
>   src/netconfig-commit.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied
diff mbox series

Patch

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,