From nobody Thu Oct 10 10:03:37 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XPQLy0Q5kz5YmJh for ; Thu, 10 Oct 2024 10:03:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPQLx3sBmz4tLK for ; Thu, 10 Oct 2024 10:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728554617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GuyeUSpZNXMdk+0L6fdaBc1wjRYlz9e1X+s9i8n0IaE=; b=lPhhd9La6+xhLbyZt3tsOj9NQRrum4Wy70aGB7wGyEWJW3R/5nce8dp3Mr5jRU56T+WDsA cFAlIXu1jQ2KtsUqBiSQxanSdZmF+jl14hS8kZGkfuY1CzgU+sHYmUzH1rNBbcFG7Exq95 6mdDoXdWl9mrnySA1QtYFQfuoYsV8d9eUVYodJ7UuT8ejd3Z/Eo0TcDJG3w9a2MraR6pbZ XD2u//P/7nI6JIiTHM3tNad50XyssHWBrVxcKaKs9r90Fqz/e8bf/R4V2aI8MB9z7e6Wax UZ9jTY2ZMuVUdYmCl333yMmckngR8o7dqqcmBVBAQzH4D9iTUJYjMyBuKvd/hQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728554617; a=rsa-sha256; cv=none; b=UuLBtcpVKPmQvZGo/u3D0n1IBpcJWDpxN5d53BvsCYKm0rY9sIXo4MhEsbFX4stxhbb+BI pzxAHd5H95iLjwZdiZuJoqMRQDR9yQKEhBS+Jvkc8I/cUBrlK8hejpiIzbznpN5I9yijlh mDMy0ZPLkx4sdKo71hhIM3BSyjfCnZCdraAqcmbIIpodbQBmbx56fC9Tacxaw1YizeChrw h5jA1IPWbVia9tOVLgRCxOolAJ6NGOvT/wRKXKG9ZQkt5X1wrMKYzQ1N+S51zmwi2Ti5Vz oqSZOf8YFD8dTXjZvvAI1IDlmEYLWS3GCTFERCgWIx/8iNq2Tntm1d1Rdw9TRg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XPQLx3Qz2ztJf for ; Thu, 10 Oct 2024 10:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49AA3bqn085798 for ; Thu, 10 Oct 2024 10:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49AA3b0F085797 for bugs@FreeBSD.org; Thu, 10 Oct 2024 10:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266474] Column truncated -- netstat routing table output Date: Thu, 10 Oct 2024 10:03:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266474 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3e46d65d56198760ad0a867a651dffb11= fbd258d commit 3e46d65d56198760ad0a867a651dffb11fbd258d Author: Lexi Winter AuthorDate: 2024-05-08 09:44:29 +0000 Commit: Zhenlei Huang CommitDate: 2024-10-10 10:00:48 +0000 netstat: increase width of Netif column The previous width of Netif (10 or 8) was too short for modern interface names; make it 12, which is long enough to display "epair0a.1000". This came up in practice with genet(4) interfaces, since the base interface name is long enough that with the previous limit, VLAN identifiers would be truncated at 1 character in the IPv6 output: "genet0.100" becomes "genet0.1". The width is now fixed, and doesn't depend on the address family, because there's no reason that length of the interface name would vary based on the AF. PR: 266474 Reviewed by: imp,zlei,Mina Gali=C4=87 Pull Request: https://github.com/freebsd/freebsd-src/pull/1223 (cherry picked from commit d33b87e8cf91a6bcb5eac0ecc0371c1041c61050) netstat: for -W, use IFNAMSIZ If -W is specified, use IFNAMSIZ as the width of the Netif column, instead of the default 12. (cherry picked from commit ae9c0ba8ef2f540f9030909cf07e3c59f876fd23) (cherry picked from commit 6b86b8f0f6b6bfd5d93e45c7f584ec5bffac2a62) usr.bin/netstat/nhops.c | 5 ++--- usr.bin/netstat/route.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=