mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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:
1 parent
8230cf1aa1
commit
b5366f8e13
1 file changed
+2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user