Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107156011
D35530.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
475 B
Referenced Files
None
Subscribers
None
D35530.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D35530: netstat: print route weight
Attached
Detach File
Event Timeline
Log In to Comment