Module Name: src Committed By: snj Date: Wed Jul 26 15:52:58 UTC 2017
Modified Files: src/sbin/route [netbsd-7]: rtutil.c Log Message: Pull up following revision(s) (requested by manu in ticket #1454): sbin/route/rtutil.c: revision 1.10 Fix route and netstat -r output when built with -DSMALL A missing \n caused the routing table to be printed all in one line if -DSMALL was used. To generate a diff of this commit: cvs rdiff -u -r1.4.2.3 -r1.4.2.4 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.4.2.3 src/sbin/route/rtutil.c:1.4.2.4 --- src/sbin/route/rtutil.c:1.4.2.3 Thu Jan 8 11:47:11 2015 +++ src/sbin/route/rtutil.c Wed Jul 26 15:52:57 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: rtutil.c,v 1.4.2.3 2015/01/08 11:47:11 martin Exp $ */ +/* $NetBSD: rtutil.c,v 1.4.2.4 2017/07/26 15:52:57 snj Exp $ */ /* $OpenBSD: show.c,v 1.1 2006/05/27 19:16:37 claudio Exp $ */ /* @@ -293,6 +293,8 @@ p_rtentry(struct rt_msghdr *rtm, int fla putchar('\n'); if (flags & RT_VFLAG) p_rtrmx(&rtm->rtm_rmx); +#else + putchar('\n'); #endif }