Module Name: src Committed By: christos Date: Sat Nov 8 00:47:32 UTC 2014
Modified Files: src/sbin/route: rtutil.c Log Message: give a little more space To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sbin/route/rtutil.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/route/rtutil.c diff -u src/sbin/route/rtutil.c:1.1 src/sbin/route/rtutil.c:1.2 --- src/sbin/route/rtutil.c:1.1 Thu Nov 6 16:29:32 2014 +++ src/sbin/route/rtutil.c Fri Nov 7 19:47:32 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: rtutil.c,v 1.1 2014/11/06 21:29:32 christos Exp $ */ +/* $NetBSD: rtutil.c,v 1.2 2014/11/08 00:47:32 christos Exp $ */ /* $OpenBSD: show.c,v 1.1 2006/05/27 19:16:37 claudio Exp $ */ /* @@ -186,13 +186,14 @@ p_rttables(int paf, int flags, int pflag /* * column widths; each followed by one space * width of destination/gateway column - * strlen("fe80::aaaa:bbbb:cccc:dddd@gif0") == 30, strlen("/128") == 4 + * strlen("fe80::aaaa:bbbb:cccc:dddd@gif0") == 30, strlen("/128") == 4 = 34 + * strlen("aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh") == 39 */ #ifndef INET6 #define WID_DST(af) 18 /* width of destination column */ #define WID_GW(af) 18 /* width of gateway column */ #else -#define WID_DST(af) ((af) == AF_INET6 ? ((flags & RT_NFLAG) ? 34 : 18) : 18) +#define WID_DST(af) ((af) == AF_INET6 ? ((flags & RT_NFLAG) ? 39 : 18) : 18) #define WID_GW(af) ((af) == AF_INET6 ? ((flags & RT_NFLAG) ? 30 : 18) : 18) #endif