FreeBSD Bugzilla – Attachment 20296 Details for
Bug 35838
Change to size of WID_IF in usr.bin/netstat/route.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 861 bytes, created by
Scot W. Hetzel
on 2002-03-13 04:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot W. Hetzel
Created:
2002-03-13 04:30:00 UTC
Size:
861 bytes
patch
obsolete
>Index: route.c >=================================================================== >RCS file: /home/ncvs/src/usr.bin/netstat/route.c,v >retrieving revision 1.41.2.11 >diff -u -r1.41.2.11 route.c >--- route.c 18 Oct 2001 10:33:25 -0000 1.41.2.11 >+++ route.c 13 Mar 2002 03:38:03 -0000 >@@ -225,13 +225,13 @@ > #ifndef INET6 > #define WID_DST(af) 18 /* width of destination column */ > #define WID_GW(af) 18 /* width of gateway column */ >-#define WID_IF(af) 6 /* width of netif column */ >+#define WID_IF(af) (Wflag ? 8 : 6) /* width of netif column */ > #else > #define WID_DST(af) \ > ((af) == AF_INET6 ? (Wflag ? 39 : (numeric_addr ? 33: 18)) : 18) > #define WID_GW(af) \ > ((af) == AF_INET6 ? (Wflag ? 31 : (numeric_addr ? 29 : 18)) : 18) >-#define WID_IF(af) ((af) == AF_INET6 ? 8 : 6) >+#define WID_IF(af) ((af) == AF_INET6 ? 8 : (Wflag ? 8 : 6)) > #endif /*INET6*/ > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35838
: 20296