Page MenuHomeFreeBSD

D55440.id.diff
No OneTemporary

D55440.id.diff

diff --git a/usr.bin/netstat/route_netlink.c b/usr.bin/netstat/route_netlink.c
--- a/usr.bin/netstat/route_netlink.c
+++ b/usr.bin/netstat/route_netlink.c
@@ -218,8 +218,8 @@
else
xo_emit("{t:interface-name/%*.*s}", wid.iface, wid.iface,
prettyname);
- if (rt->rta_expires > 0) {
- xo_emit(" {:expire-time/%*u}", wid.expire, rt->rta_expires);
+ if (rt->rta_expire > 0) {
+ xo_emit(" {:expire-time/%*u}", wid.expire, rt->rta_expire);
}
}
@@ -244,6 +244,7 @@
rt.rtax_weight = nhop->rtnh_weight;
rt.rta_rtflags = nhop->rta_rtflags ? nhop->rta_rtflags : orig_rtflags;
rt.rtax_mtu = nhop->rtax_mtu ? nhop->rtax_mtu : orig_mtu;
+ rt.rta_expire = nhop->rta_expire;
xo_open_instance(name);
p_path(&rt, true);

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 27, 10:00 AM (2 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29005970
Default Alt Text
D55440.id.diff (745 B)

Event Timeline