($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: iwd@lists.linux.dev
Cc: Denis Kenzior <denkenz@gmail.com>
Subject: [PATCH] netconfig: Fix copy-paste error
Date: Tue, 27 Feb 2024 14:42:25 -0600	[thread overview]
Message-ID: <20240227204242.1509980-1-denkenz@gmail.com> (raw)

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


             reply	other threads:[~2024-02-27 20:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 20:42 Denis Kenzior [this message]
2024-02-28 17:51 ` [PATCH] netconfig: Fix copy-paste error Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240227204242.1509980-1-denkenz@gmail.com \
    --to=denkenz@gmail.com \
    --cc=iwd@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).