From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KAM5KEurQWNGbgAAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 18:54:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cMFBKEurQWPq3AAA9RJhRA (envelope-from ) for ; Sat, 08 Oct 2022 18:54:35 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5AB9884A5 for ; Sat, 8 Oct 2022 18:54:35 +0200 (CEST) Received: from localhost ([::1]:38636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohD5u-00061P-K2 for larch@yhetil.org; Sat, 08 Oct 2022 12:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohD5P-00060q-1W for guix-patches@gnu.org; Sat, 08 Oct 2022 12:54:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohD5O-00075d-Pe for guix-patches@gnu.org; Sat, 08 Oct 2022 12:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohD5O-0002cq-FW for guix-patches@gnu.org; Sat, 08 Oct 2022 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58382] [PATCH 1/3] link: Pass correct attribute and a payload to rename a link References: <20221008165043.13177-1-levenson@mmer.org> In-Reply-To: <20221008165043.13177-1-levenson@mmer.org> Resent-From: Alexey Abramov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Oct 2022 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58382@debbugs.gnu.org Received: via spool by 58382-submit@debbugs.gnu.org id=B58382.166524801410023 (code B ref 58382); Sat, 08 Oct 2022 16:54:02 +0000 Received: (at 58382) by debbugs.gnu.org; 8 Oct 2022 16:53:34 +0000 Received: from localhost ([127.0.0.1]:41364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohD4w-0002ba-6f for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:53:34 -0400 Received: from mail.mmer.org ([178.22.65.174]:45374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohD4u-0002bF-1L for 58382@debbugs.gnu.org; Sat, 08 Oct 2022 12:53:32 -0400 Received: from mail.mmer.org (localhost [127.0.0.1]) by mail.mmer.org (OpenSMTPD) with ESMTP id feee73c9 for <58382@debbugs.gnu.org>; Sat, 8 Oct 2022 16:53:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=mmer.org; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=dkim; bh=x5/o+8BrNNeLuOAu/59OfR/mOLWzb83Jrw3mWhBPIV4=; b=u3xa ycJOtyYMHDFK2I0xnU6iusHaICXAp58ZPCTLB3dztJO3NpDOIK9Ou56yHqLlIXqm FdPodkeN4QumsxoKs3p05i4rlFs0p7CFCNsLxv0GligYXePIrqArp1kkBO5oZO7U QLiY0cSo0IqSn9T+Na3+t+XsilBU6EITuQCHXf8= Received: from delta (j74210.upc-j.chello.nl [24.132.74.210]) by mail.mmer.org (OpenSMTPD) with ESMTPSA id 889eb1da (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <58382@debbugs.gnu.org>; Sat, 8 Oct 2022 16:53:26 +0000 (UTC) Date: Sat, 8 Oct 2022 18:53:12 +0200 Message-Id: <20221008165314.14056-1-levenson@mmer.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Alexey Abramov X-ACL-Warn: , Alexey Abramov via Guix-patches From: Alexey Abramov via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665248075; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VgxNnbvxlNfOKxOPBVH+KvHsjGogvmMdsIegFNdLf6M=; b=GYPS3u9xKGosibZNN2NbP4t7L3njLE2C7gfTBut8PGZ1OOaONFqL+vK/e6PQZ7evzp6P1E 3CDZymJZbZ+FZ/AdgNsI1prYX4cfEFysFz1EgKqfEbjLLQEees3uf93lX/OBk/9g2tcQ9U WUuytHiUftWqgZqxV9m8QM75aKGBK2qtrYTcID69Zdgz+R1IhPFQ1TBTroH8qDvQZAkI9Y M8A0GsoRcnfWeVbfoy+nlRkzLtIrEzKnrtuFZPPhgNptJTLqBLJ9xlseDxrU5ua591n31S lPCOzqh95eWH8lxFnFMRR01zjxXHw/1DzKcBQHKYOBtS8VoW4wk1AzDl1o/kPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665248075; a=rsa-sha256; cv=none; b=anXSFHQl1u4M5xy/2kAfkRS9rdniVRa89iqOynz2HyvIW1llnmMcWu8aqa2vr3Jn5G/Gfd oDE51ZK1dKrYl4MdxR+JUX9ADnCfivHxabSd4+MRcGJLE4hjDkdXJtzfCwNIFxmfv0+NrU y59Ztfvihmc2eQPXgKeuQntrcj8p1HvtDXA1/aBSuyNyk+w9XYrD0//KvS3zYSPY4W/u7z 4lOLTIXR6g3J6lBHIR/3bfS8ZtwK9+d7JFVmQ2cAiahZMMzS/lNlPi4+CqGxWPnkNn8WDP QdnE4j+oWDtwLDZ05rHbwsPXUfAAzgdyOFana3juFE2tKW7hzCDNWKoxQs/w6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b="u3xa ycJ"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b="u3xa ycJ"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5AB9884A5 X-Spam-Score: -2.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: UaboIAnctN54 * 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