aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/route/route_netlink.c2
1 files changed, 2 insertions, 0 deletions
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) {