summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2019-09-01 14:13:46 +0000
committermartin <martin@NetBSD.org>2019-09-01 14:13:46 +0000
commitddb63fd578d662cf7de16751ef346a7f1a279ef0 (patch)
tree2d23a3d43828075c2dd53569ed6e17c688296e1c /sbin
parente7d5a54b9c2b3e832039565c51a1e42494786dc0 (diff)
Pull up following revision(s) (requested by roy in ticket #150):
sbin/route/route.c: revision 1.162 route(8): show addrs for RTM_MISS
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index d33a1158132..df83907ae56 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $NetBSD: route.c,v 1.160.2.1 2019/08/26 13:37:26 martin Exp $ */
+/* $NetBSD: route.c,v 1.160.2.2 2019/09/01 14:13:46 martin Exp $ */
/*
* Copyright (c) 1983, 1989, 1991, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1989, 1991, 1993\
#if 0
static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: route.c,v 1.160.2.1 2019/08/26 13:37:26 martin Exp $");
+__RCSID("$NetBSD: route.c,v 1.160.2.2 2019/09/01 14:13:46 martin Exp $");
#endif
#endif /* not lint */
@@ -1463,6 +1463,7 @@ print_rtmsg(struct rt_msghdr *rtm, int msglen)
case RTM_CHANGE:
case RTM_DELETE:
case RTM_GET:
+ case RTM_MISS:
(void)printf("pid %d, seq %d, errno %d, flags: ",
rtm->rtm_pid, rtm->rtm_seq, rtm->rtm_errno);
bprintf(stdout, rtm->rtm_flags, routeflags);