Date: Thu, 26 Feb 2026 12:35:27 +0000 From: Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b5366f8e138e - main - route(8): show expire time of each nexthop in monitor Message-ID: <69a03e0f.3f3fe.5651a349@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by pouria: URL: https://cgit.FreeBSD.org/src/commit/?id=b5366f8e138e223d85d7c9b71f0a0384f5d55f29 commit b5366f8e138e223d85d7c9b71f0a0384f5d55f29 Author: Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> AuthorDate: 2026-02-25 16:45:36 +0000 Commit: Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> 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) {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a03e0f.3f3fe.5651a349>
