Page MenuHomeFreeBSD

D35530.diff
No OneTemporary

D35530.diff

diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -329,6 +329,8 @@
snprintf(buffer, sizeof(buffer), "{[:-%d}{:flags/%%s}{]:} ",
wid_flags - protrusion);
p_flags(rtm->rtm_flags, buffer);
+ /* Output path weight as non-visual property */
+ xo_emit("{e:weight/%u}", rtm->rtm_rmx.rmx_weight);
if (Wflag) {
/* XXX: use=0? */
xo_emit("{t:nhop/%*lu} ", wid_mtu, rtm->rtm_rmx.rmx_nhidx);

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 11:44 PM (20 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15758965
Default Alt Text
D35530.diff (475 B)

Event Timeline