View | Details | Raw Unified | Return to bug 161986 | Differences between
and this patch

Collapse All | Expand All

(-)route.c (-2 / +2 lines)
Lines 238-250 Link Here
238
#ifndef INET6
238
#ifndef INET6
239
#define	WID_DST_DEFAULT(af) 	18	/* width of destination column */
239
#define	WID_DST_DEFAULT(af) 	18	/* width of destination column */
240
#define	WID_GW_DEFAULT(af)	18	/* width of gateway column */
240
#define	WID_GW_DEFAULT(af)	18	/* width of gateway column */
241
#define	WID_IF_DEFAULT(af)	(Wflag ? 10 : 8) /* width of netif column */
241
#define	WID_IF_DEFAULT(af)	IFNAMSIZ-1	/* width of netif column */
242
#else
242
#else
243
#define	WID_DST_DEFAULT(af) \
243
#define	WID_DST_DEFAULT(af) \
244
	((af) == AF_INET6 ? (numeric_addr ? 33: 18) : 18)
244
	((af) == AF_INET6 ? (numeric_addr ? 33: 18) : 18)
245
#define	WID_GW_DEFAULT(af) \
245
#define	WID_GW_DEFAULT(af) \
246
	((af) == AF_INET6 ? (numeric_addr ? 29 : 18) : 18)
246
	((af) == AF_INET6 ? (numeric_addr ? 29 : 18) : 18)
247
#define	WID_IF_DEFAULT(af)	((af) == AF_INET6 ? 8 : (Wflag ? 10 : 8))
247
#define	WID_IF_DEFAULT(af)	((af) == AF_INET6 ? 8 : IFNAMSIZ-1)
248
#endif /*INET6*/
248
#endif /*INET6*/
249
249
250
static int wid_dst;
250
static int wid_dst;

Return to bug 161986