From: Alexey Abramov via Guix-patches via <guix-patches@gnu.org>
To: 58382@debbugs.gnu.org
Subject: [bug#58382] [PATCH 1/3] link: Pass correct attribute and a payload to rename a link
Date: Sat, 8 Oct 2022 18:53:12 +0200 [thread overview]
Message-ID: <20221008165314.14056-1-levenson@mmer.org> (raw)
In-Reply-To: <20221008165043.13177-1-levenson@mmer.org>
* ip/link.scm(link-set): Send IFLA_IFNAME attribute with a new desired
interfaces name.
---
ip/link.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ip/link.scm b/ip/link.scm
index ecd1072..521cffa 100644
--- a/ip/link.scm
+++ b/ip/link.scm
@@ -211,8 +211,8 @@ criteria."
'())
,@(if name
(list
- (make-route-attr IFLA_TXQLEN
- (make-u32-route-attr txqueuelen)))
+ (make-route-attr IFLA_IFNAME
+ (make-string-route-attr name)))
'())
,@(if address
(list
--
2.36.1
next prev parent reply other threads:[~2022-10-08 16:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-08 16:50 [bug#58382] [PATCH 0/3] guile-netlink: Add support for bonds Alexey Abramov via Guix-patches via
2022-10-08 16:53 ` Alexey Abramov via Guix-patches via [this message]
2022-10-08 16:53 ` [bug#58382] [PATCH 2/3] link: Allow to bound interfaces to bonds Alexey Abramov via Guix-patches via
2022-10-08 16:53 ` [bug#58382] [PATCH 3/3] link: Add partial support for bond interfaces Alexey Abramov via Guix-patches via
2022-10-09 13:45 ` bug#58382: [PATCH 0/3] guile-netlink: Add support for bonds Julien Lepiller
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=20221008165314.14056-1-levenson@mmer.org \
--to=guix-patches@gnu.org \
--cc=58382@debbugs.gnu.org \
--cc=levenson@mmer.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.