Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/netstat Pull up revision 1.46 (requested by hub...



details:   https://anonhg.NetBSD.org/src/rev/46cd5f093f30
branches:  netbsd-1-4
changeset: 470136:46cd5f093f30
user:      he <he%NetBSD.org@localhost>
date:      Fri Jan 21 00:17:37 2000 +0000

description:
Pull up revision 1.46 (requested by hubertf):
  Properly print "B" for "Blackhole" routes.  Fixes PR#9190.

diffstat:

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

diffs (26 lines):

diff -r 86eacd629fed -r 46cd5f093f30 usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c   Fri Jan 21 00:13:20 2000 +0000
+++ b/usr.bin/netstat/route.c   Fri Jan 21 00:17:37 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.36.2.1 1999/04/02 22:38:48 chopps Exp $    */
+/*     $NetBSD: route.c,v 1.36.2.2 2000/01/21 00:17:37 he Exp $        */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "from: @(#)route.c      8.3 (Berkeley) 3/9/94";
 #else
-__RCSID("$NetBSD: route.c,v 1.36.2.1 1999/04/02 22:38:48 chopps Exp $");
+__RCSID("$NetBSD: route.c,v 1.36.2.2 2000/01/21 00:17:37 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -84,6 +84,7 @@
        { RTF_GATEWAY,  'G' },
        { RTF_HOST,     'H' },
        { RTF_REJECT,   'R' },
+       { RTF_BLACKHOLE,'B' },
        { RTF_DYNAMIC,  'D' },
        { RTF_MODIFIED, 'M' },
        { RTF_DONE,     'd' }, /* Completed -- for routing messages only */



Home | Main Index | Thread Index | Old Index