Module Name: src
Committed By: snj
Date: Tue Jul 25 01:34:23 UTC 2017
Modified Files:
src/sbin/route [netbsd-8]: rtutil.c
Log Message:
Pull up following revision(s) (requested by manu in ticket #131):
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.8.8.1 -r1.8.8.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.8.8.1 src/sbin/route/rtutil.c:1.8.8.2
--- src/sbin/route/rtutil.c:1.8.8.1 Fri Jul 7 13:57:26 2017
+++ src/sbin/route/rtutil.c Tue Jul 25 01:34:23 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: rtutil.c,v 1.8.8.1 2017/07/07 13:57:26 martin Exp $ */
+/* $NetBSD: rtutil.c,v 1.8.8.2 2017/07/25 01:34:23 snj 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
}