guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#58382] [PATCH 1/3] link: Pass correct attribute and a payload to re


From: Alexey Abramov
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

* 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]