mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
route(8): Show metric value in monitor route
Reviewed by: glebius Differential Revision: https://reviews.freebsd.org/D56326
This commit is contained in:
@@ -542,6 +542,7 @@ print_nlmsg_route_nhop(struct nl_helper *h, struct snl_parsed_route *r,
|
||||
if (nh->rtax_mtu == 0)
|
||||
nh->rtax_mtu = link.ifla_mtu;
|
||||
printf("iface %s ", link.ifla_ifname);
|
||||
printf("metric %d ", nh->rta_metric);
|
||||
printf("weight %d ", nh->rtnh_weight);
|
||||
if (nh->rtax_mtu != 0)
|
||||
printf("mtu %d ", nh->rtax_mtu);
|
||||
|
||||
Reference in New Issue
Block a user