Module Name: src
Committed By: manu
Date: Thu Jul 13 08:26:29 UTC 2017
Modified Files:
src/sbin/route: rtutil.c
Log Message:
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.9 -r1.10 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.9 src/sbin/route/rtutil.c:1.10
--- src/sbin/route/rtutil.c:1.9 Wed Jun 28 04:14:53 2017
+++ src/sbin/route/rtutil.c Thu Jul 13 08:26:29 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: rtutil.c,v 1.9 2017/06/28 04:14:53 ozaki-r Exp $ */
+/* $NetBSD: rtutil.c,v 1.10 2017/07/13 08:26:29 manu Exp $ */
/* $OpenBSD: show.c,v 1.1 2006/05/27 19:16:37 claudio Exp $ */
/*
@@ -304,6 +304,8 @@ p_rtentry(struct rt_msghdr *rtm, int fla
putchar('\n');
if (flags & RT_VFLAG)
p_rtrmx(&rtm->rtm_rmx);
+#else
+ putchar('\n');
#endif
}