Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sbin/route Pull up following revision(s) (requested by ma...



details:   https://anonhg.NetBSD.org/src/rev/5ef7f3768403
branches:  netbsd-8
changeset: 434136:5ef7f3768403
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Jul 25 01:34:23 2017 +0000

description:
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.

diffstat:

 sbin/route/rtutil.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r b31015e9d717 -r 5ef7f3768403 sbin/route/rtutil.c
--- a/sbin/route/rtutil.c       Tue Jul 25 01:29:56 2017 +0000
+++ b/sbin/route/rtutil.c       Tue Jul 25 01:34:23 2017 +0000
@@ -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 @@
        putchar('\n');
        if (flags & RT_VFLAG)
                p_rtrmx(&rtm->rtm_rmx);
+#else
+       putchar('\n');
 #endif
 }
 



Home | Main Index | Thread Index | Old Index