From nobody Thu Feb 26 12:35:27 2026 X-Original-To: dev-commits-src-main@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 4fM9sX10Xlz6TYJc for ; Thu, 26 Feb 2026 12:35:28 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fM9sX01jfz4JPZ for ; Thu, 26 Feb 2026 12:35:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1772109328; 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=EhavhlUZ153lDHYQcVPbFpAQfxg4VfPz/3aWT54PRjw=; b=mBKvDL0AHpd+wZs6WMPGTPUaMfAaaKUN4hlBGkvGuJAedNNEjd8meGjVjWhCp0PBv9Zmq0 riGs1rscPsPp+pfTKpobC7EVmA+6BzjZIJjrCCkWL3D4u2h2wsI28becnmm1djzenm9jZh iVGT+EfbXnLWye45w+MS24BX4qNyFzHM4tzwCmxJbV/uMkUBjyBFaEuzdQlCcKqrWgXaai U4LBEjacDc62cUzM91zouEPsrGOoLBW/DAJlHINru2DPCWlInqiP5nPSQadZQN2iRqhCu8 cUKnd0r+q55iDUKz2oUQWGjiVV/VXfSAs86iMS6RwsVuLLuhoFUs1Lds2xp3iQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1772109328; a=rsa-sha256; cv=none; b=NmF8mBVqD7xiIWT0ZC6zbRTJU70UbfPtfovJBphmfYdyftFz85WWEMl9psOmRYtjY44OoG 6clQsZFPTGfBI8bMWW+llBDqPkKwpgbosQ5AftP9DPXadK0nKGGtlMZ/26lXQ4w/0vXfIT RUFbaqBq7Z6CgbRGbJWzpnttIpRyDI3jpJZXL8frmrHpU0j8Ts8GzFT0mSR1Szhs+VKwky Z28vVv0+BhwbnAtWMyUZf5E4chdsmi8sWc4xBukJazH1xCHSI8DPwSwftVqTQYsNXW1Dd5 3T+2IFu+DzalUx1NFZmwZNZcLRrOa3dKk1M+qa9aAGOv3byVpSyGc+I6XthLgg== 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=1772109328; 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=EhavhlUZ153lDHYQcVPbFpAQfxg4VfPz/3aWT54PRjw=; b=odX+9u/LnJo6EtJzOlBzAlh7our6gS+hYhE/SEfExgMSs0LasUfpRYqTxUdjQQrgOPvmy3 bnGVYqqaHh7qukLk85s9QWJKViu8D9X/c/xsrn/IVbUj18kwzTxzrKuv/h/r/7hvIBEMqs gKA1RpucJ8eyLknqmMwt4XHzBOX5PNBbL4DagF/Ki1Cf5l4xnekN7AyAKSCKS2HFQjTX1F ukR5XBe+H6dJK9gePIlYOCMqF5jw/sDFETdWb9YAsSp/o/iFBhhNvXz6n0VZCVBcKJbej0 GXl3u44dFozp8PI3YChfa11JqC6GOQI/Xt7wTR8RtAHqJWUe7gjHCLlyl0fIWg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fM9sW6M7GzXWB for ; Thu, 26 Feb 2026 12:35:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3f3fe by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 26 Feb 2026 12:35:27 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Pouria Mousavizadeh Tehrani Subject: git: b5366f8e138e - main - route(8): show expire time of each nexthop in monitor List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: b5366f8e138e223d85d7c9b71f0a0384f5d55f29 Auto-Submitted: auto-generated Date: Thu, 26 Feb 2026 12:35:27 +0000 Message-Id: <69a03e0f.3f3fe.5651a349@gitrepo.freebsd.org> The branch main has been updated by pouria: URL: https://cgit.FreeBSD.org/src/commit/?id=b5366f8e138e223d85d7c9b71f0a0384f5d55f29 commit b5366f8e138e223d85d7c9b71f0a0384f5d55f29 Author: Pouria Mousavizadeh Tehrani AuthorDate: 2026-02-25 16:45:36 +0000 Commit: Pouria Mousavizadeh Tehrani CommitDate: 2026-02-26 09:49:09 +0000 route(8): show expire time of each nexthop in monitor Reviewed by: glebius Differential Revision: https://reviews.freebsd.org/D55514 --- sbin/route/route_netlink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/route/route_netlink.c b/sbin/route/route_netlink.c index 5dde7501d6b4..e3ddbf81e62c 100644 --- a/sbin/route/route_netlink.c +++ b/sbin/route/route_netlink.c @@ -488,6 +488,8 @@ print_nlmsg_route_nhop(struct nl_helper *h, struct snl_parsed_route *r, printf("iface %s ", link.ifla_ifname); if (nh->rtax_mtu != 0) printf("mtu %d ", nh->rtax_mtu); + if (nh->rta_expire > 0) + printf("expire %u ", nh->rta_expire); } if (first) {