route(8): show expire time of each nexthop in monitor

Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D55514
This commit is contained in:
Pouria Mousavizadeh Tehrani committed 2026-02-26 13:19:09 +03:30
1 parent 8230cf1aa1
commit b5366f8e13
1 file changed
+2
+2
View File
@@ -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) {