Source-Changes-HG archive

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

[src/trunk]: src/sbin/route route(8): show addrs for RTM_MISS



details:   https://anonhg.NetBSD.org/src/rev/defd02006d6b
branches:  trunk
changeset: 459211:defd02006d6b
user:      roy <roy%NetBSD.org@localhost>
date:      Sat Aug 31 18:20:08 2019 +0000

description:
route(8): show addrs for RTM_MISS

diffstat:

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

diffs (26 lines):

diff -r 1194d150144d -r defd02006d6b sbin/route/route.c
--- a/sbin/route/route.c        Sat Aug 31 17:34:46 2019 +0000
+++ b/sbin/route/route.c        Sat Aug 31 18:20:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.161 2019/08/22 16:10:48 roy Exp $  */
+/*     $NetBSD: route.c,v 1.162 2019/08/31 18:20:08 roy Exp $  */
 
 /*
  * Copyright (c) 1983, 1989, 1991, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)route.c    8.6 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: route.c,v 1.161 2019/08/22 16:10:48 roy Exp $");
+__RCSID("$NetBSD: route.c,v 1.162 2019/08/31 18:20:08 roy Exp $");
 #endif
 #endif /* not lint */
 
@@ -1463,6 +1463,7 @@
        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);



Home | Main Index | Thread Index | Old Index