Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netstat Properly print the "B"(lackhole) flag (as do...



details:   https://anonhg.NetBSD.org/src/rev/039dd1e250e5
branches:  trunk
changeset: 480542:039dd1e250e5
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Sat Jan 15 01:39:54 2000 +0000

description:
Properly print the "B"(lackhole) flag (as documented :).
Patch submitted in PR 9190 by URA Hiroshi <ura%hiru.aoba.yokohama.jp@localhost>

diffstat:

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

diffs (26 lines):

diff -r 3fa68fa0cdb4 -r 039dd1e250e5 usr.bin/netstat/route.c
--- a/usr.bin/netstat/route.c   Sat Jan 15 01:17:12 2000 +0000
+++ b/usr.bin/netstat/route.c   Sat Jan 15 01:39:54 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.45 2000/01/07 04:49:11 sommerfeld Exp $    */
+/*     $NetBSD: route.c,v 1.46 2000/01/15 01:39:54 hubertf 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.45 2000/01/07 04:49:11 sommerfeld Exp $");
+__RCSID("$NetBSD: route.c,v 1.46 2000/01/15 01:39:54 hubertf Exp $");
 #endif
 #endif /* not lint */
 
@@ -91,6 +91,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