From nobody Thu Feb 5 09:56:34 2026 X-Original-To: dev-commits-src-all@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 4f6CKt509rz6RW1m for ; Thu, 05 Feb 2026 09:56:34 +0000 (UTC) (envelope-from git@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f6CKt1jcjz3dnJ for ; Thu, 05 Feb 2026 09:56:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770285394; 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; bh=xZYFnAG0uUvGI3Ghgngz39qPOcKWslV3+m8iX1idGhI=; b=OBWqr+1tJzF17NRauGkA4Kha6DZ8dgRZ+SEC+5yj9/MhvVTqoHfiQs7n7wCUoe6wS05kR6 nF9NApf2MNK6R/jvqPLSoe81T6d7qCp764SSQBrB1V7t1ijKdtlQcOQLHQ/cXCl6+N/95c CwFY8ahWyUMOczi8a+8+yh5OV3bnjKGpUrv9/YkFSj9zeI2rcssPudtVgHag+6mfIoXUQY mBWXlgwWSot+cn5GTHs8S+yNVhU8GQk7524qUjBuuz684kEQQWEp/XFl1q50n0Y3U29UgW Dp593wRjP3pXvxh8KcSw1faYjhYy/toEgUeZPtCcN3zq0mPyNn/NYmtg8fDduQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770285394; a=rsa-sha256; cv=none; b=jTnC1v9fqXJlW+6UvwwmwZIH202uhnimPOrTU2BEteT27qzP0ZU7mZKtEsgF4e6Dj2pox/ X/5exML0fWWvHPnz1bkikYPI7pL6y/T6qWQMMNr6l0yqBTq7fGsPS4R+EY5e6cBGzCEmWR zHY5MOdgARLicANlOXDoFjXpSJcaPk8sSHk7EZHiedh6Ckoy/RNEuB8fnZdIP6W5H1FIZ0 gVxkLM4lPNjbYTqq3m/+g5GgHkAq/vwNvc/yR3qqnlndJh70m3kByvKZ4rLgMrzRQfEvsc oa0wYO87zi9B1IWLV3fcVHM+x/kqjZowkYNkxBk5WzXr6TIs/8P7QQDB3Ee7GQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770285394; 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; bh=xZYFnAG0uUvGI3Ghgngz39qPOcKWslV3+m8iX1idGhI=; b=Y1HS1nK9wmwgNV9N6J4b60QOv6Mq9Ky1lPY068z+4FXa1BAqn0AkkvTfZZtJJb9XP0n9Nt h5hX28SIwGZRWWpxjSgCHZBXkBRJdQtOTPdYA8E5giFFMNSepDU/qSxVo7fhgerWyrVEQd /Tz4Yod7uY1qJ2mkISQUbTV5mygMua379lR5WLDdmw+DQSQmgCisx/Ta7bkvsrhay1QtZM RtDMQ+drSbaG+0BvPAn6fnH0l9Tk4tS/+l7lNybS32xBSDLp45hXuDNnZ6PZxYn2Y8XApJ jqcBs0k9GXtHDfsr0uPRBBaqW/sUcbS8UROIsmm9KDuVXlevdPXr0LlT737Wgg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f6CKt0yg0z8WQ for ; Thu, 05 Feb 2026 09:56:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 4430c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 05 Feb 2026 09:56:34 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Pouria Mousavizadeh Tehrani Subject: git: 484bf5a664c4 - stable/14 - ifconfig: fix gre(4) status List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pouria X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 484bf5a664c40a92b4f3acf9c81c57c62624c0c0 Auto-Submitted: auto-generated Date: Thu, 05 Feb 2026 09:56:34 +0000 Message-Id: <69846952.4430c.7632e642@gitrepo.freebsd.org> The branch stable/14 has been updated by pouria: URL: https://cgit.FreeBSD.org/src/commit/?id=484bf5a664c40a92b4f3acf9c81c57c62624c0c0 commit 484bf5a664c40a92b4f3acf9c81c57c62624c0c0 Author: Pouria Mousavizadeh Tehrani AuthorDate: 2026-02-04 11:03:22 +0000 Commit: Pouria Mousavizadeh Tehrani CommitDate: 2026-02-05 09:55:59 +0000 ifconfig: fix gre(4) status Set `ifr->ifr_name` to display gre options for the interface. Reviewed by: glebius, zlei Approved by: glebius (mentor) MFC after: 1 day Differential Revision: https://reviews.freebsd.org/D55099 (cherry picked from commit c2ba906fa63982d7aa799466d83716d39fe91d2b) --- sbin/ifconfig/ifgre.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/ifconfig/ifgre.c b/sbin/ifconfig/ifgre.c index 6f7bf56f0513..d620a8ae86b0 100644 --- a/sbin/ifconfig/ifgre.c +++ b/sbin/ifconfig/ifgre.c @@ -54,11 +54,11 @@ gre_status(if_ctx *ctx) uint32_t opts = 0, port; struct ifreq ifr = { .ifr_data = (caddr_t)&opts }; - if (ioctl_ctx(ctx, GREGKEY, &ifr) == 0) + if (ioctl_ctx_ifr(ctx, GREGKEY, &ifr) == 0) if (opts != 0) printf("\tgrekey: 0x%x (%u)\n", opts, opts); opts = 0; - if (ioctl_ctx(ctx, GREGOPTS, &ifr) != 0 || opts == 0) + if (ioctl_ctx_ifr(ctx, GREGOPTS, &ifr) != 0 || opts == 0) return; port = 0;