summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-25 00:41:40 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-25 00:41:40 +0000
commit4d43a30e19552e765939f83669683438cf31eac4 (patch)
tree9bce770389e9d1588bbc76e7044cc932d668a67a /usr.bin
parent93690f8a935624e13b0fef1707bdb50aadf0dd69 (diff)
Show a "3" in -r output if RTF_PROTO3 is set; ok itojun@ and millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/netstat.13
-rw-r--r--usr.bin/netstat/route.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index e00ad95c00f..4a80e127392 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netstat.1,v 1.24 2000/12/13 15:52:58 camield Exp $
+.\" $OpenBSD: netstat.1,v 1.25 2001/06/25 00:41:39 niklas Exp $
.\" $NetBSD: netstat.1,v 1.11 1995/10/03 21:42:43 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1990, 1992, 1993
@@ -280,6 +280,7 @@ The mapping between letters and flags is:
.Bl -column XXXX RTF_BLACKHOLE
1 RTF_PROTO1 Protocol specific routing flag #1.
2 RTF_PROTO2 Protocol specific routing flag #2.
+3 RTF_PROTO3 Protocol specific routing flag #3.
B RTF_BLACKHOLE Just discard pkts (during updates).
C RTF_CLONING Generate new routes on use.
D RTF_DYNAMIC Created dynamically (by redirect).
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index b79d07fc27c..1468a0e03cd 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.39 2000/12/11 17:33:07 provos Exp $ */
+/* $OpenBSD: route.c,v 1.40 2001/06/25 00:41:39 niklas Exp $ */
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-static char *rcsid = "$OpenBSD: route.c,v 1.39 2000/12/11 17:33:07 provos Exp $";
+static char *rcsid = "$OpenBSD: route.c,v 1.40 2001/06/25 00:41:39 niklas Exp $";
#endif
#endif /* not lint */
@@ -110,6 +110,7 @@ struct bits {
{ RTF_STATIC, 'S' },
{ RTF_PROTO1, '1' },
{ RTF_PROTO2, '2' },
+ { RTF_PROTO3, '3' },
{ 0 }
};