|
Lines 225-237
Link Here
|
| 225 |
#ifndef INET6 |
225 |
#ifndef INET6 |
| 226 |
#define WID_DST(af) 18 /* width of destination column */ |
226 |
#define WID_DST(af) 18 /* width of destination column */ |
| 227 |
#define WID_GW(af) 18 /* width of gateway column */ |
227 |
#define WID_GW(af) 18 /* width of gateway column */ |
| 228 |
#define WID_IF(af) 6 /* width of netif column */ |
228 |
#define WID_IF(af) (Wflag ? 8 : 6) /* width of netif column */ |
| 229 |
#else |
229 |
#else |
| 230 |
#define WID_DST(af) \ |
230 |
#define WID_DST(af) \ |
| 231 |
((af) == AF_INET6 ? (Wflag ? 39 : (numeric_addr ? 33: 18)) : 18) |
231 |
((af) == AF_INET6 ? (Wflag ? 39 : (numeric_addr ? 33: 18)) : 18) |
| 232 |
#define WID_GW(af) \ |
232 |
#define WID_GW(af) \ |
| 233 |
((af) == AF_INET6 ? (Wflag ? 31 : (numeric_addr ? 29 : 18)) : 18) |
233 |
((af) == AF_INET6 ? (Wflag ? 31 : (numeric_addr ? 29 : 18)) : 18) |
| 234 |
#define WID_IF(af) ((af) == AF_INET6 ? 8 : 6) |
234 |
#define WID_IF(af) ((af) == AF_INET6 ? 8 : (Wflag ? 8 : 6)) |
| 235 |
#endif /*INET6*/ |
235 |
#endif /*INET6*/ |
| 236 |
|
236 |
|
| 237 |
/* |
237 |
/* |