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.
This commit is contained in:
manu 2017-07-13 08:26:29 +00:00
parent 66ef30384e
commit c87959dccf
1 changed files with 3 additions and 1 deletions

View File

@ -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 flags, int interesting)
putchar('\n');
if (flags & RT_VFLAG)
p_rtrmx(&rtm->rtm_rmx);
#else
putchar('\n');
#endif
}